Completed
Branch master (6afa16)
by Pierre-Henry
33:46
created
_protected/app/system/modules/user/models/WallModel.php 1 patch
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@  discard block
 block discarded – undo
15 15
 class WallModel extends Framework\Mvc\Model\Engine\Model
16 16
 {
17 17
 
18
+    /**
19
+     * @param string $iProfileId
20
+     * @param string $sCreatedDate
21
+     */
18 22
     public function add($iProfileId, $sPost, $sCreatedDate)
19 23
     {
20 24
         $rStmt = Db::getInstance()->prepare('INSERT INTO' . Db::prefix('MembersWall') . '(profileId, post, createdDate) VALUES (:profileId, :post, :createdDate)');
@@ -24,6 +28,10 @@  discard block
 block discarded – undo
24 28
         return $rStmt->execute();
25 29
     }
26 30
 
31
+    /**
32
+     * @param string $iProfileId
33
+     * @param string $sUpdatedDate
34
+     */
27 35
     public function edit($iProfileId, $sPost, $sUpdatedDate)
28 36
     {
29 37
         $rStmt = Db::getInstance()->prepare('UPDATE' . Db::prefix('MembersWall') . 'SET post = :post, updatedDate = :updatedDate WHERE profileId = :profileId');
@@ -33,6 +41,9 @@  discard block
 block discarded – undo
33 41
         return $rStmt->execute();
34 42
     }
35 43
 
44
+    /**
45
+     * @param string $iProfileId
46
+     */
36 47
     public function delete($iProfileId, $iWallId)
37 48
     {
38 49
         $rStmt = Db::getInstance()->prepare('DELETE FROM'.Db::prefix('MembersWall') . 'WHERE :profileId=:profileId AND wallId=:wallId');
@@ -41,6 +52,12 @@  discard block
 block discarded – undo
41 52
         return $rStmt->execute();
42 53
     }
43 54
 
55
+    /**
56
+     * @param string $iProfileId
57
+     * @param string $iWallId
58
+     * @param integer $iOffset
59
+     * @param integer $iLimit
60
+     */
44 61
     public function get($iProfileId, $iWallId = null, $iOffset, $iLimit)
45 62
     {
46 63
         $iOffset = (int) $iOffset;
@@ -59,6 +76,10 @@  discard block
 block discarded – undo
59 76
         return $oRow;
60 77
     }
61 78
 
79
+    /**
80
+     * @param integer $iOffset
81
+     * @param integer $iLimit
82
+     */
62 83
     public function getCommentProfile($iProfileId, $iOffset, $iLimit)
63 84
     {
64 85
         return (new CommentCoreModel)->read($iProfileId, 1, $iOffset, $iLimit, 'profile');
Please login to merge, or discard this patch.
_protected/app/system/modules/video/forms/processing/VideoFormProcess.php 1 patch
Unused Use Statements   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -15,13 +15,12 @@
 block discarded – undo
15 15
 namespace PH7;
16 16
 defined('PH7') or exit('Restricted access');
17 17
 
18
-use
19
-PH7\Framework\Util\Various,
20
-PH7\Framework\Mvc\Model\DbConfig,
21
-PH7\Framework\Mvc\Router\Uri,
22
-PH7\Framework\Url\Header,
23
-PH7\Framework\File as F,
24
-PH7\Framework\Video as V;
18
+use PH7\Framework\Util\Various;
19
+use PH7\Framework\Mvc\Model\DbConfig;
20
+use PH7\Framework\Mvc\Router\Uri;
21
+use PH7\Framework\Url\Header;
22
+use PH7\Framework\File as F;
23
+use PH7\Framework\Video as V;
25 24
 
26 25
 class VideoFormProcess extends Form
27 26
 {
Please login to merge, or discard this patch.
_protected/app/system/modules/xml/inc/class/DateFormat.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     }
39 39
 
40 40
     /**
41
-     * @param char $cFormat
41
+     * @param string $cFormat
42 42
      * @param string $sDate
43 43
      * @return string
44 44
      * @throws \PH7\Framework\Date\Exception If the date format is incorrect.
Please login to merge, or discard this patch.
_protected/framework/Acl/Acl.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     /**
31 31
      * @desc Add a role
32 32
      * @param string $sName
33
-     * @return object Instance of Role
33
+     * @return Role Instance of Role
34 34
      */
35 35
     public function addRole($sName)
36 36
     {
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * @desc Add a resource
47 47
      * @param string $sName
48 48
      * @param array $aAllowed
49
-     * @return object Instance of Resource
49
+     * @return Resource Instance of Resource
50 50
      */
51 51
     public function addResource($sName, array $aAllowed)
52 52
     {
Please login to merge, or discard this patch.
_protected/framework/Analytics/GoogleAnalyticsAPI.class.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -361,7 +361,6 @@
 block discarded – undo
361 361
      * For all the parameters : http://code.google.com/intl/fr-FR/apis/analytics/docs/gdata/gdataReferenceDataFeed.html
362 362
      *
363 363
      * @param string $metrics the metrics
364
-     * @param string $uri the url of the website page (ex : /myurl/)
365 364
      *
366 365
      * @return array
367 366
      */
Please login to merge, or discard this patch.
_protected/framework/Compress/Minify/Js.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -229,6 +229,7 @@
 block discarded – undo
229 229
   /**
230 230
    * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character.
231 231
    *
232
+   * @param string $c
232 233
    * @return bool
233 234
    */
234 235
   protected function isAlphaNum($c)
Please login to merge, or discard this patch.
_protected/framework/Layout/Form/Engine/PFBC/Element.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -198,6 +198,9 @@
 block discarded – undo
198 198
         $this->form = $form;
199 199
     }
200 200
 
201
+    /**
202
+     * @param string $id
203
+     */
201 204
     public function setID($id)
202 205
     {
203 206
         $this->attributes['id'] = $id;
Please login to merge, or discard this patch.
_protected/framework/Layout/Form/Form.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
      * Get Time text.
115 115
      *
116 116
      * @param integer $iWaitTime
117
-     * @return integer
117
+     * @return string
118 118
      */
119 119
     private static function _getTimeText($iWaitTime)
120 120
     {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Model/Engine/Record.class.php 1 patch
Doc Comments   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      *
49 49
      * @param string $sKey the array key
50 50
      * @param string $sValue The value
51
-     * @return object this
51
+     * @return Record this
52 52
      */
53 53
     public function addValue($sKey, $sValue)
54 54
     {
@@ -394,7 +394,7 @@  discard block
 block discarded – undo
394 394
      *
395 395
      * @param string $sTable
396 396
      * @param array $aValues
397
-     * @return object this
397
+     * @return Record this
398 398
      */
399 399
     public function updates($sTable, array $aValues)
400 400
     {
@@ -418,7 +418,7 @@  discard block
 block discarded – undo
418 418
      *
419 419
      * @param string $sTable
420 420
      * @param string $sWhat Default: '*'
421
-     * @return object this
421
+     * @return Record this
422 422
      *
423 423
      */
424 424
     public function select($sTable, $sWhat = '*')
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
      *
435 435
      * @param string $sField
436 436
      * @param string $sValue
437
-     * @return object this
437
+     * @return Record this
438 438
      *
439 439
      */
440 440
     public function find($sField, $sValue)
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
      *
451 451
      * @param string $sField
452 452
      * @param string $sValue
453
-     * @return object this
453
+     * @return Record this
454 454
      *
455 455
      */
456 456
     public function andFind($sField, $sValue)
@@ -466,7 +466,7 @@  discard block
 block discarded – undo
466 466
      *
467 467
      * @param string $sField
468 468
      * @param string $sValue
469
-     * @return object this
469
+     * @return Record this
470 470
      *
471 471
      */
472 472
     public function orFind($sField, $sValue)
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
      *
483 483
      * @param string $sField
484 484
      * @param string $sValue
485
-     * @return object this
485
+     * @return Record this
486 486
      */
487 487
     public function havingFind($sField, $sValue)
488 488
     {
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
      * @param string $sField
497 497
      * @param string $sValue
498 498
      * @param string $sOperator Default: '='
499
-     * @return object this
499
+     * @return Record this
500 500
      *
501 501
      */
502 502
     public function where($sField, $sValue, $sOperator = '=')
@@ -511,7 +511,7 @@  discard block
 block discarded – undo
511 511
      * @param string $sField
512 512
      * @param string $sValue
513 513
      * @param string $sOperator Default: '='
514
-     * @return object this
514
+     * @return Record this
515 515
      */
516 516
     public function andClause($sField, $sValue, $sOperator = '=')
517 517
     {
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
      * @param string $sField
526 526
      * @param string $sValue
527 527
      * @param string $sOperator Default: '='
528
-     * @return object this
528
+     * @return Record this
529 529
      */
530 530
     public function orClause($sField, $sValue, $sOperator = '=')
531 531
     {
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
      *
539 539
      * @param integer $iOffset
540 540
      * @param integer $iLimit
541
-     * @return object this
541
+     * @return Record this
542 542
      */
543 543
     public function limit($iOffset, $iLimit)
544 544
     {
@@ -551,7 +551,7 @@  discard block
 block discarded – undo
551 551
      *
552 552
      * @param string $sField
553 553
      * @param string $sOrder Default: 'ASC'
554
-     * @return object this
554
+     * @return Record this
555 555
      */
556 556
     public function orderBy($sField, $sOrder = Db::ASC)
557 557
     {
@@ -563,7 +563,7 @@  discard block
 block discarded – undo
563 563
      * Add a GROUP BY clause.
564 564
      *
565 565
      * @param string $sGroup
566
-     * @return object this
566
+     * @return Record this
567 567
      */
568 568
     public function groupBy($sGroup)
569 569
     {
@@ -577,7 +577,7 @@  discard block
 block discarded – undo
577 577
      * @param string $sField
578 578
      * @param string $sValue
579 579
      * @param string $sOperator Default: '='
580
-     * @return object this
580
+     * @return Record this
581 581
      */
582 582
     public function having($sField, $sValue, $sOperator = '=')
583 583
     {
@@ -590,7 +590,7 @@  discard block
 block discarded – undo
590 590
      *
591 591
      * @param string $sClsName Clause operator.
592 592
      * @param string $sVal Value.
593
-     * @return object this
593
+     * @return Record this
594 594
      */
595 595
     protected function clause($sClsName, $sVal)
596 596
     {
@@ -605,7 +605,7 @@  discard block
 block discarded – undo
605 605
      * @param string $sField Field
606 606
      * @param string $sVal Value.
607 607
      * @param string $sOpt Operator.
608
-     * @return object this
608
+     * @return Record this
609 609
      */
610 610
     protected function optClause($sClsName, $sField, $sVal, $sOpt)
611 611
     {
Please login to merge, or discard this patch.