Skip to content

Commit

Permalink
fix a bug when warnings appear in the high version of swoole (swoft-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
shixinke authored and huangzhhui committed Sep 5, 2018
1 parent 923d680 commit f9fb97a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Testing/SwooleResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ public function cookie($name, $value = null, $expires = null, $path = null, $dom

/**
* 设置HttpCode,如404, 501, 200
* @param $code
* @param int $code
* @param string $reason
*/
public function status($code)
public function status($code, $reason = NULL)
{
}

Expand Down

0 comments on commit f9fb97a

Please sign in to comment.