@@ -85,7 +85,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | { |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | /** |
| 121 | 121 | * Check is the POST request method exists. |
| 122 | 122 | * |
| 123 | - * @param array|string $mKey The key of the request or an array with the list of key of the variables request. |
|
| 123 | + * @param string $mKey The key of the request or an array with the list of key of the variables request. |
|
| 124 | 124 | * @param string $sParam Optional parameter, check the type of the request variable | Value type is: str, int, float, bool |
| 125 | 125 | * |
| 126 | 126 | * @return boolean |
@@ -296,7 +296,7 @@ |
||
| 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 | { |