Completed
Branch master (b43d3d)
by Pierre-Henry
35:32
created
_protected/app/system/modules/connect/inc/class/Twitter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     /**
116 116
      * Authenticate user with Twitter.
117 117
      *
118
-     * @return bool Authentication successful.
118
+     * @return boolean|null Authentication successful.
119 119
      */
120 120
     public function auth()
121 121
     {
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
     /**
289 289
      * Obtain an access token from Twitter.
290 290
      *
291
-     * @return bool Returns FALSE if request failed.
291
+     * @return null|false Returns FALSE if request failed.
292 292
      */
293 293
     private function _getAccessToken()
294 294
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/game/models/GameModel.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -12,6 +12,10 @@
 block discarded – undo
12 12
 class GameModel extends GameCoreModel
13 13
 {
14 14
 
15
+    /**
16
+     * @param integer $iOffset
17
+     * @param integer $iLimit
18
+     */
15 19
     public function getCategory($iCategoryId = null, $iOffset, $iLimit, $bCount = false)
16 20
     {
17 21
         $this->cache->start(static::CACHE_GROUP, 'category' . $iCategoryId . $iOffset . $iLimit . $bCount, static::CACHE_TIME);
Please login to merge, or discard this patch.
_protected/app/system/modules/love-calculator/inc/class/Calculator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * @param string $sName
21 21
      * @param string $sSecondName
22
-     * @return object this
22
+     * @return Calculator this
23 23
      */
24 24
     public function __construct($sName, $sSecondName)
25 25
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @return integer Amount
82
+     * @return string Amount
83 83
      */
84 84
     public function get()
85 85
     {
Please login to merge, or discard this patch.
_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/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/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/Util/Various.class.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      * Convert mod to table.
48 48
      *
49 49
      * @param string $Mod
50
-     * @return mixed (string | void) Returns the table if it is correct.
50
+     * @return string (string | void) Returns the table if it is correct.
51 51
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
52 52
      */
53 53
     public static function convertModToTable($Mod)
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
120 120
      *
121 121
      * @param string $sTable
122
-     * @return mixed (string | void) Returns the table if it is correct.
122
+     * @return string (string | void) Returns the table if it is correct.
123 123
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
124 124
      */
125 125
     public static function convertTableToId($sTable)
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
181 181
      *
182 182
      * @param string $sTable
183
-     * @return mixed (string | void) Returns the table if it is correct.
183
+     * @return string|null (string | void) Returns the table if it is correct.
184 184
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
185 185
      */
186 186
     public static function checkTable($sTable)
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr()
213 213
      *
214 214
      * @param string $sTable
215
-     * @return mixed (string | void) Returns the table if it is correct.
215
+     * @return string|null (string | void) Returns the table if it is correct.
216 216
      * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid.
217 217
      */
218 218
     public static function checkModelTable($sTable)
Please login to merge, or discard this patch.