Completed
Branch master (02c06e)
by Pierre-Henry
33:10
created
_protected/framework/Layout/Html/Design.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -617,7 +617,7 @@
 block discarded – undo
617 617
      * @param integer $iSize
618 618
      * @param boolean $bPrint Print or Return the HTML code.
619 619
      *
620
-     * @return void|string The default 150px avatar URL or the user avatar URL.
620
+     * @return string The default 150px avatar URL or the user avatar URL.
621 621
      */
622 622
     public function getUserAvatar($sUsername, $sSex = '', $iSize = null, $bPrint = true)
623 623
     {
Please login to merge, or discard this patch.
_protected/framework/Cache/Cache.class.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      * Gets the data cache.
169 169
      *
170 170
      * @param boolean $bPrint Default FALSE
171
-     * @return boolean|integer|float|string|array|object Returns the converted cache value if successful, FALSE otherwise.
171
+     * @return \stdClass Returns the converted cache value if successful, FALSE otherwise.
172 172
      */
173 173
     public function get($bPrint = false)
174 174
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      *
187 187
      * @param string $sData
188 188
      *
189
-     * @return string|null|self If the cache is disabled, returns null, otherwise returns this class.
189
+     * @return null|Cache If the cache is disabled, returns null, otherwise returns this class.
190 190
      */
191 191
     public function put($sData)
192 192
     {
Please login to merge, or discard this patch.
_protected/framework/Loader/Autoloader.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -181,6 +181,7 @@
 block discarded – undo
181 181
      * For all classes, hack to remove the namespace, slash and backslash.
182 182
      *
183 183
      * @param string The class name to clean.
184
+     * @param string $sClass
184 185
      *
185 186
      * @return string The class cleaned.
186 187
      */
Please login to merge, or discard this patch.
_protected/app/system/modules/admin123/models/AdminModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
      *
41 41
      * @param array $aData
42 42
      *
43
-     * @return integer The ID of the Admin.
43
+     * @return string The ID of the Admin.
44 44
      */
45 45
     public function add(array $aData)
46 46
     {
Please login to merge, or discard this patch.
_protected/app/system/modules/mail/models/MailModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
      * @param string $sMessage
97 97
      * @param string $sCreatedDate
98 98
      *
99
-     * @return boolean|integer Returns the ID of the message on success or FALSE on failure.
99
+     * @return string Returns the ID of the message on success or FALSE on failure.
100 100
      */
101 101
     public function sendMsg($iSender, $iRecipient, $sTitle, $sMessage, $sCreatedDate)
102 102
     {
Please login to merge, or discard this patch.
_protected/framework/Compress/Compress.class.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
         $this->_bIsGoogleClosure = (bool) Config::getInstance()->values['cache']['enable.js.closure_compiler_service'];
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $sPhp
75
+     */
73 76
     public function parsePhp($sPhp)
74 77
     {
75 78
         $sPhp = preg_replace('#/\*.*+\*#', '', $sPhp); # Removing PHP comments
@@ -92,6 +95,9 @@  discard block
 block discarded – undo
92 95
         return $sHtml;
93 96
     }
94 97
 
98
+    /**
99
+     * @param string $sContent
100
+     */
95 101
     public function parseCss($sContent)
96 102
     {
97 103
         if ($this->_bJavaCompiler) {
@@ -143,6 +149,9 @@  discard block
 block discarded – undo
143 149
         return $sCssMinified;
144 150
     }
145 151
 
152
+    /**
153
+     * @param string $sContent
154
+     */
146 155
     public function parseJs($sContent)
147 156
     {
148 157
         if ($this->_bJavaCompiler) {
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
@@ -388,6 +388,7 @@
 block discarded – undo
388 388
     /**
389 389
      * Is $c a letter, digit, underscore, dollar sign, or non-ASCII character.
390 390
      *
391
+     * @param string $c
391 392
      * @return bool
392 393
      */
393 394
     protected function isAlphaNum($c)
Please login to merge, or discard this patch.
_protected/framework/Error/LoggerExcept.class.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * Write to the logfile.
41 41
      *
42
-     * @param object $oExcept \Exception object.
42
+     * @param Exception $oExcept \Exception object.
43 43
      * @return void
44 44
      */
45 45
     public function except(Exception $oExcept)
Please login to merge, or discard this patch.
_protected/framework/Mvc/Model/Engine/Db.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
     private function __construct() {}
46 46
 
47 47
     /**
48
+     * @param string $sDsn
48 49
      * @return Db Returns the PDO instance class or create initial connection.
49 50
      */
50 51
     public static function getInstance($sDsn = NULL, $sUsername = NULL, $sPassword = NULL, $aDriverOptions = NULL, $sPrefix = NULL)
@@ -292,7 +293,7 @@  discard block
 block discarded – undo
292 293
     /**
293 294
      * Count the number of requests.
294 295
      *
295
-     * @return float number
296
+     * @return integer number
296 297
      */
297 298
     public static function queryCount()
298 299
     {
Please login to merge, or discard this patch.