Completed
Branch master (af2259)
by Pierre-Henry
32:59
created
_install/inc/fns/misc.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@  discard block
 block discarded – undo
296 296
 /**
297 297
  * Check if Apache's mod_rewrite is installed.
298 298
  *
299
- * @return boolean
299
+ * @return null|boolean
300 300
  */
301 301
 function is_url_rewrite()
302 302
 {
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
  * Check license key.
393 393
  *
394 394
  * @param string $sKey The License Key.
395
- * @return boolean
395
+ * @return integer
396 396
  */
397 397
 function check_license($sKey)
398 398
 {
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
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
     /**
86 86
      * @param integer $iStatus The "code" for the HTTP status.
87 87
      *
88
-     * @return string|boolean $iStatus Returns the "HTTP status code" if found otherwise returns "false"
88
+     * @return integer $iStatus Returns the "HTTP status code" if found otherwise returns "false"
89 89
      */
90 90
     public static function getStatusCodes($iStatus)
91 91
     {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Set one or multiple headers.
123 123
      *
124
-     * @param string|array $mHeaders Headers to send.
124
+     * @param string $mHeaders Headers to send.
125 125
      *
126 126
      * @throws Exception
127 127
      */
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
      * @param string $sUsr
181 181
      * @param string $sPwd
182 182
      *
183
-     * @return boolean TRUE if the authentication is correct, otherwise FALSE.
183
+     * @return null|boolean TRUE if the authentication is correct, otherwise FALSE.
184 184
      */
185 185
     public static function requireAuth($sUsr, $sPwd)
186 186
     {
Please login to merge, or discard this patch.
_protected/framework/Mvc/Request/Http.class.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * Check is the POST request method exists.
123 123
      *
124
-     * @param array|string $mKey The key of the request or an array with the list of key of the variables request.
124
+     * @param string $mKey The key of the request or an array with the list of key of the variables request.
125 125
      * @param string $sParam Optional parameter, check the type of the request variable | Value type is: str, int, float, bool
126 126
      *
127 127
      * @return boolean
@@ -303,6 +303,7 @@  discard block
 block discarded – undo
303 303
     }
304 304
 
305 305
     /**
306
+     * @param string $sUrl
306 307
      * @return string The correct pH7's URL.
307 308
      */
308 309
     public function pH7Url($sUrl)
Please login to merge, or discard this patch.