Completed
Branch master (9997d9)
by Pierre-Henry
32:47
created
_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.
_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.
_protected/app/includes/classes/ProfileBaseController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -222,7 +222,7 @@
 block discarded – undo
222 222
      * @param stdClass $oUser
223 223
      * @param stdClass $oFields
224 224
      *
225
-     * @return array
225
+     * @return stdClass
226 226
      */
227 227
     protected function getFilteredData(stdClass $oUser, stdClass $oFields)
228 228
     {
Please login to merge, or discard this patch.
_protected/framework/Compress/Compress.class.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -94,6 +94,11 @@  discard block
 block discarded – undo
94 94
         return $sPhpCode;
95 95
     }
96 96
 
97
+    /**
98
+     * @param string $sHtml
99
+     *
100
+     * @return string
101
+     */
97 102
     public function parseHtml($sHtml)
98 103
     {
99 104
         preg_match_all('!(<(?:code|pre).*>[^<]+</(?:code|pre)>)!', $sHtml, $aPre); // Exclude pre or code tags
@@ -112,6 +117,9 @@  discard block
 block discarded – undo
112 117
         return $sHtml;
113 118
     }
114 119
 
120
+    /**
121
+     * @param string $sContent
122
+     */
115 123
     public function parseCss($sContent)
116 124
     {
117 125
         if ($this->bJavaCompiler) {
@@ -164,6 +172,9 @@  discard block
 block discarded – undo
164 172
         return $sCssMinified;
165 173
     }
166 174
 
175
+    /**
176
+     * @param string $sContent
177
+     */
167 178
     public function parseJs($sContent)
168 179
     {
169 180
         if ($this->bJavaCompiler) {
@@ -237,7 +248,7 @@  discard block
 block discarded – undo
237 248
      * @param string $sContent
238 249
      * @param string $sContentEncoded
239 250
      *
240
-     * @return resource|bool Returns the resource if eligible, FALSE otherwise.
251
+     * @return resource Returns the resource if eligible, FALSE otherwise.
241 252
      */
242 253
     private function googleClosureEligible($sContent, $sContentEncoded)
243 254
     {
Please login to merge, or discard this patch.
_protected/framework/Parse/SysVar.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
     }
101 101
 
102 102
     /**
103
-     * @return bool
103
+     * @return integer
104 104
      */
105 105
     private function notParsingVars()
106 106
     {
Please login to merge, or discard this patch.