Completed
Branch v10.0.8 (8ea7f6)
by Pierre-Henry
59:04 queued 24:10
created
_protected/framework/Parse/SysVar.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      *
33 33
      * @param string $sVar
34 34
      *
35
-     * @return The new parsed text
35
+     * @return string new parsed text
36 36
      */
37 37
     public function parse($sVar)
38 38
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     }
93 93
 
94 94
     /**
95
-     * @return bool
95
+     * @return integer
96 96
      */
97 97
     private function notParsingVars()
98 98
     {
Please login to merge, or discard this patch.
_install/inc/fns/misc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -316,7 +316,7 @@
 block discarded – undo
316 316
 /**
317 317
  * Check if Apache's mod_rewrite is installed.
318 318
  *
319
- * @return bool
319
+ * @return null|boolean
320 320
  */
321 321
 function is_url_rewrite()
322 322
 {
Please login to merge, or discard this patch.
_protected/app/system/core/classes/design/LostPwdDesignCore.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param string $sMod
26 26
      * @param bool $bPrint Print or Return the HTML code.
27 27
      *
28
-     * @return void
28
+     * @return string|null
29 29
      */
30 30
     public static function link($sMod, $bPrint = true)
31 31
     {
Please login to merge, or discard this patch.
_protected/app/system/core/models/CommentCoreModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      * @param int $iRecipientId
88 88
      * @param string $sTable
89 89
      *
90
-     * @return array|bool|float|int|object|string
90
+     * @return integer
91 91
      */
92 92
     public function total($iRecipientId, $sTable)
93 93
     {
Please login to merge, or discard this patch.
app/system/modules/admin123/forms/processing/AddFakeProfilesFormProcess.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
      * @param string $sApiParams Parameters to send to the API.
85 85
      * @param string $sApiVersion Version of the API it will use. If fails from the API server, it will ignore it.
86 86
      *
87
-     * @return void
87
+     * @return string|boolean
88 88
      */
89 89
     private function getApiResults($sApiUrl, $sApiParams, $sApiVersion)
90 90
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/connect/inc/class/Microsoft.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@
 block discarded – undo
162 162
     /**
163 163
      * @param stdClass $oProfile
164 164
      *
165
-     * @return bool
165
+     * @return string
166 166
      */
167 167
     private function getBirthDate(stdClass $oProfile)
168 168
     {
Please login to merge, or discard this patch.
_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
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
     /**
119 119
      * Authenticate user with Twitter.
120 120
      *
121
-     * @return bool Authentication successful.
121
+     * @return boolean|null Authentication successful.
122 122
      */
123 123
     public function auth()
124 124
     {
@@ -289,7 +289,7 @@  discard block
 block discarded – undo
289 289
     /**
290 290
      * Obtain an access token from Twitter.
291 291
      *
292
-     * @return bool Returns FALSE if request failed.
292
+     * @return null|false Returns FALSE if request failed.
293 293
      */
294 294
     private function getAccessToken()
295 295
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/love-calculator/inc/class/Calculator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return int Return the love amount.
70
+     * @return string Return the love amount.
71 71
      */
72 72
     public function get()
73 73
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/picture/models/PictureModel.php 1 patch
Doc Comments   +39 added lines patch added patch discarded remove patch
@@ -12,6 +12,13 @@  discard block
 block discarded – undo
12 12
 
13 13
 class PictureModel extends PictureCoreModel
14 14
 {
15
+    /**
16
+     * @param string $iProfileId
17
+     * @param string $sTitle
18
+     * @param string $sDescription
19
+     * @param string $sThumb
20
+     * @param string $sCreatedDate
21
+     */
15 22
     public function addAlbum($iProfileId, $sTitle, $sDescription, $sThumb, $sCreatedDate, $iApproved = 1)
16 23
     {
17 24
         $rStmt = Db::getInstance()->prepare('INSERT INTO' . Db::prefix('AlbumsPictures') . '(profileId, name, description, thumb, createdDate, approved)
@@ -27,6 +34,13 @@  discard block
 block discarded – undo
27 34
         return $rStmt->execute();
28 35
     }
29 36
 
37
+    /**
38
+     * @param string $iProfileId
39
+     * @param integer $iAlbumId
40
+     * @param string $sTitle
41
+     * @param string $sFile
42
+     * @param string $sCreatedDate
43
+     */
30 44
     public function addPhoto($iProfileId, $iAlbumId, $sTitle, $sDescription, $sFile, $sCreatedDate, $iApproved = 1)
31 45
     {
32 46
         $rStmt = Db::getInstance()->prepare('INSERT INTO' . Db::prefix('Pictures') . '(profileId, albumId, title, description, file, createdDate, approved)
@@ -52,6 +66,9 @@  discard block
 block discarded – undo
52 66
         return $rStmt->execute();
53 67
     }
54 68
 
69
+    /**
70
+     * @param string $iProfileId
71
+     */
55 72
     public function getAlbumsName($iProfileId)
56 73
     {
57 74
         $this->cache->start(self::CACHE_GROUP, 'albumName' . $iProfileId, static::CACHE_TIME);
@@ -69,6 +86,13 @@  discard block
 block discarded – undo
69 86
         return $oData;
70 87
     }
71 88
 
89
+    /**
90
+     * @param string $iProfileId
91
+     * @param string $iAlbumId
92
+     * @param string $iPictureId
93
+     * @param integer $iOffset
94
+     * @param integer $iLimit
95
+     */
72 96
     public function photo($iProfileId, $iAlbumId, $iPictureId = null, $iApproved = 1, $iOffset, $iLimit)
73 97
     {
74 98
         $this->cache->start(self::CACHE_GROUP, 'photo' . $iProfileId . $iAlbumId . $iPictureId . $iApproved . $iOffset . $iLimit, static::CACHE_TIME);
@@ -135,6 +159,13 @@  discard block
 block discarded – undo
135 159
         return $iData;
136 160
     }
137 161
 
162
+    /**
163
+     * @param string $iProfileId
164
+     * @param integer $iAlbumId
165
+     * @param string $sTitle
166
+     * @param string $sDescription
167
+     * @param string $sUpdatedDate
168
+     */
138 169
     public function updateAlbum($iProfileId, $iAlbumId, $sTitle, $sDescription, $sUpdatedDate)
139 170
     {
140 171
         $rStmt = Db::getInstance()->prepare('UPDATE' . Db::prefix('AlbumsPictures') .
@@ -149,6 +180,14 @@  discard block
 block discarded – undo
149 180
         return $rStmt->execute();
150 181
     }
151 182
 
183
+    /**
184
+     * @param string $iProfileId
185
+     * @param integer $iAlbumId
186
+     * @param integer $iPictureId
187
+     * @param string $sTitle
188
+     * @param string $sDescription
189
+     * @param string $sUpdatedDate
190
+     */
152 191
     public function updatePhoto($iProfileId, $iAlbumId, $iPictureId, $sTitle, $sDescription, $sUpdatedDate)
153 192
     {
154 193
         $rStmt = Db::getInstance()->prepare('UPDATE' . Db::prefix('Pictures') .
Please login to merge, or discard this patch.