fix TypeError

This commit is contained in:
ralf 2024-07-15 07:46:13 +02:00
parent 1a98d800f7
commit a234bb2d0c

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)
{