浏览代码

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) 
     {