fix TypeError

This commit is contained in:
ralf 2024-07-15 07:46:13 +02:00
parent 1a98d800f7
commit a234bb2d0c
1 changed files with 2 additions and 2 deletions

View File

@ -203,8 +203,8 @@ class HttpException extends Exception
public readonly string $method;
public readonly string $request_uri;
public readonly string $request_body;
public readonly array $response_headers;
public readonly string $response;
public readonly ?array $response_headers;
public readonly ?string $response;
public function __construct(string $message, int $code, string $method, string $uri, $body, ?array $response_headers=null, ?string $response=null)
{