Completed
Branch master (4b027e)
by Pierre-Henry
36:32
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/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/Benchmark/Benchmark.class.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -62,7 +62,6 @@  discard block
 block discarded – undo
62 62
     /**
63 63
      * Returns the elapsed time, readable or not
64 64
      *
65
-     * @param  boolean $readable Whether the result must be human readable
66 65
      * @param  string  $format   The format to display (printf format)
67 66
      * @return string|float
68 67
      */
@@ -76,7 +75,6 @@  discard block
 block discarded – undo
76 75
     /**
77 76
      * Returns the memory usage at the end checkpoint
78 77
      *
79
-     * @param  boolean $readable Whether the result must be human readable
80 78
      * @param  string  $format   The format to display (printf format)
81 79
      * @return string|float
82 80
      */
@@ -88,7 +86,6 @@  discard block
 block discarded – undo
88 86
     /**
89 87
      * Returns the memory peak, readable or not
90 88
      *
91
-     * @param  boolean $readable Whether the result must be human readable
92 89
      * @param  string  $format   The format to display (printf format)
93 90
      * @return string|float
94 91
      */
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/Layout/Gzip/Gzip.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
     /**
358 358
      * Set CSS/JS variables.
359 359
      *
360
-     * @param array $aVars Variable names containing the values.
360
+     * @param array $aVals Variable names containing the values.
361 361
      * @return void
362 362
      */
363 363
     private function _setVariables(array $aVals)
Please login to merge, or discard this patch.