Completed
Branch master (941829)
by Pierre-Henry
35:00
created
_protected/app/system/core/models/UserCoreModel.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -462,6 +462,7 @@  discard block
 block discarded – undo
462 462
      *
463 463
      * @param int iProfileId
464 464
      * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away
465
+     * @param integer $iProfileId
465 466
      *
466 467
      * @return void
467 468
      */
@@ -1083,7 +1084,7 @@  discard block
 block discarded – undo
1083 1084
      * @param int|null $iOffset
1084 1085
      * @param int|null $iLimit
1085 1086
      *
1086
-     * @return array|stdClass|int Object with the users list returned or integer for the total number users returned.
1087
+     * @return integer Object with the users list returned or integer for the total number users returned.
1087 1088
      */
1088 1089
     public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null)
1089 1090
     {
@@ -1400,7 +1401,7 @@  discard block
 block discarded – undo
1400 1401
      *
1401 1402
      * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID.
1402 1403
      *
1403
-     * @return stdClass|array The membership(s) data.
1404
+     * @return string The membership(s) data.
1404 1405
      */
1405 1406
     public function getMemberships($iGroupId = null)
1406 1407
     {
Please login to merge, or discard this patch.
_protected/framework/CArray/CArray.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
     /**
19 19
      * Merge two Arrays into one recursively.
20 20
      *
21
-     * @param array $aFrom The array to be merged to.
22
-     * @param array $aTo The array to be merged from.
21
+     * @param string[] $aFrom The array to be merged to.
22
+     * @param string[] $aTo The array to be merged from.
23 23
      *
24 24
      * @return array Returns the merged array (the original arrays are not changed).
25 25
      */
Please login to merge, or discard this patch.
_protected/framework/CArray/ObjArr.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Converting an Array to an Object.
22 22
      *
23
-     * @param mixed $aArr The array to convert.
23
+     * @param mixed $mArr The array to convert.
24 24
      *
25 25
      * @return stdClass
26 26
      */
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * Converting an Object to an Array.
46 46
      *
47
-     * @param stdClass|array $oObj The object to convert.
47
+     * @param stdClass $oObj The object to convert.
48 48
      *
49 49
      * @return array
50 50
      */
Please login to merge, or discard this patch.
_protected/framework/File/File.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
     /**
155 155
      * Check if file exists.
156 156
      *
157
-     * @param array|string $mFile
157
+     * @param string $mFile
158 158
      *
159 159
      * @return bool TRUE if file exists, FALSE otherwise.
160 160
      */
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      * @param string $sFrom File or directory.
363 363
      * @param string $sTo File or directory.
364 364
      *
365
-     * @return int|bool Returns the last line on success, and FALSE on failure.
365
+     * @return string|false Returns the last line on success, and FALSE on failure.
366 366
      */
367 367
     public function systemCopy($sFrom, $sTo)
368 368
     {
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
      * @param string $sFrom File or directory.
413 413
      * @param string $sTo File or directory.
414 414
      *
415
-     * @return int|bool Returns the last line on success, and FALSE on failure.
415
+     * @return string|false Returns the last line on success, and FALSE on failure.
416 416
      */
417 417
     public function systemRename($sFrom, $sTo)
418 418
     {
Please login to merge, or discard this patch.
_protected/framework/Http/Http.class.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
     /**
88 88
      * @param int $iStatus The "code" for the HTTP status.
89 89
      *
90
-     * @return string|bool $iStatus Returns the "HTTP status code" if found, FALSE otherwise.
90
+     * @return integer $iStatus Returns the "HTTP status code" if found, FALSE otherwise.
91 91
      */
92 92
     public static function getStatusCodes($iStatus)
93 93
     {
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
     /**
125 125
      * Set one or multiple headers.
126 126
      *
127
-     * @param string|array $mHeaders Headers to send.
127
+     * @param string $mHeaders Headers to send.
128 128
      *
129 129
      * @throws Exception
130 130
      */
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
      * @param string $sPwd
189 189
      * @param string $sMsg
190 190
      *
191
-     * @return bool TRUE if the authentication is correct, otherwise FALSE.
191
+     * @return null|boolean TRUE if the authentication is correct, otherwise FALSE.
192 192
      */
193 193
     public static function requireAuth($sUsr, $sPwd, $sMsg = 'HTTP Basic Authentication')
194 194
     {
Please login to merge, or discard this patch.
_protected/framework/Translate/Adapter/Gettext/streams.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@
 block discarded – undo
105 105
     private $_fd;
106 106
     private $_length;
107 107
 
108
+    /**
109
+     * @param string $filename
110
+     */
108 111
     public function __construct($filename)
109 112
     {
110 113
         if (file_exists($filename)) {
Please login to merge, or discard this patch.
data/file/protected/app/system/modules/forum/models/ForumModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
      * @param int $iOffset
58 58
      * @param int $iLimit
59 59
      *
60
-     * @return array|\stdClass|bool
60
+     * @return string
61 61
      */
62 62
     public function getTopic($sForumName, $iForumId, $sTopicSubject, $iTopicId, $iProfileId, $sApproved, $iOffset, $iLimit)
63 63
     {
Please login to merge, or discard this patch.
12.9.0-12.9.7/data/file/protected/app/system/core/models/AdsCoreModel.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -24,6 +24,8 @@
 block discarded – undo
24 24
      *
25 25
      * @param string|null $mActive 1 = active otherwise null. Default value is '1'
26 26
      * @param string $sTable The table.
27
+     * @param integer $iOffset
28
+     * @param integer $iLimit
27 29
      *
28 30
      * @return array The advertisements data.
29 31
      */
Please login to merge, or discard this patch.
12.9.0-12.9.7/data/file/protected/app/system/core/models/UserCoreModel.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -462,6 +462,7 @@  discard block
 block discarded – undo
462 462
      *
463 463
      * @param int iProfileId
464 464
      * @param int $iStatus Values: 0 = Offline, 1 = Online, 2 = Busy, 3 = Away
465
+     * @param integer $iProfileId
465 466
      *
466 467
      * @return void
467 468
      */
@@ -1083,7 +1084,7 @@  discard block
 block discarded – undo
1083 1084
      * @param int|null $iOffset
1084 1085
      * @param int|null $iLimit
1085 1086
      *
1086
-     * @return array|stdClass|int Object with the users list returned or integer for the total number users returned.
1087
+     * @return integer Object with the users list returned or integer for the total number users returned.
1087 1088
      */
1088 1089
     public function getGeoProfiles($sCountryCode, $sCity, $bCount, $sOrder, $iOffset = null, $iLimit = null)
1089 1090
     {
@@ -1400,7 +1401,7 @@  discard block
 block discarded – undo
1400 1401
      *
1401 1402
      * @param int|null $iGroupId Group ID. Select only the specific membership from a group ID.
1402 1403
      *
1403
-     * @return stdClass|array The membership(s) data.
1404
+     * @return string The membership(s) data.
1404 1405
      */
1405 1406
     public function getMemberships($iGroupId = null)
1406 1407
     {
Please login to merge, or discard this patch.