This commit is contained in:
2023-07-03 22:56:59 +08:00
parent f01ea83447
commit bced72d811
4 changed files with 202 additions and 159 deletions
+1 -1
View File
@@ -89,7 +89,7 @@ class Response implements ResponseInterface
* @param int $statusCode
* @return ResponseInterface
*/
public function html(string $content, int $statusCode = 200): ResponseInterface
public function html(string $content = '', int $statusCode = 200): ResponseInterface
{
return $this->__call__(__FUNCTION__, $content, $statusCode);
}