Skip to content

Commit

Permalink
docs: improve return type of header method
Browse files Browse the repository at this point in the history
  • Loading branch information
aspirantzhang authored and liu21st committed Jul 5, 2022
1 parent fdd8a6c commit 8df6fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/think/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -1237,7 +1237,7 @@ protected function throwUploadFileError($error)
* @access public
* @param string $name header名称
* @param string $default 默认值
* @return string|array
* @return string|array|null
*/
public function header(string $name = '', string $default = null)
{
Expand Down

0 comments on commit 8df6fda

Please sign in to comment.