Преглед на файлове

more precision about return type

jcheron преди 6 години
родител
ревизия
90077515af
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) 
     {