fix error using a better way

This commit is contained in:
Beu
2025-08-27 21:37:37 +02:00
parent fd0a15cc61
commit 6af13da300
2 changed files with 3 additions and 5 deletions

View File

@@ -81,10 +81,10 @@ class Response
/**
* Sets headers
*
* @param array $error headers to set
* @param array|null $headers headers to set
* @return void
*/
public function setHeaders(array $headers)
public function setHeaders(?array $headers)
{
$this->headers = $headers;
}