Prechádzať zdrojové kódy

more precision about return type

jcheron 6 rokov pred
rodič
commit
90077515af
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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) 
     {