Explorar o código

more precision about return type

jcheron %!s(int64=6) %!d(string=hai) anos
pai
achega
90077515af
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -323,7 +323,7 @@ class Http
      * Sets the HTTP response status code.
      *
      * @param int $code The response code
-     * @return mixed The valid status code or FALSE if code is not provided and it is not invoked in a web server environment
+     * @return boolean|int The valid status code or FALSE if code is not provided and it is not invoked in a web server environment
      */
     public static function responseCode($code) 
     {