Skip to content

Commit 200314a

Browse files
committed
Small bug squash
1 parent 1106130 commit 200314a

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/Http/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Exception extends \Exception implements HttpExceptionInterface
1212
public function __construct(
1313
protected int $status,
1414
protected $message = '',
15-
\Exception $previous = null,
15+
?\Exception $previous = null,
1616
protected array $headers = [],
1717
int $code = 0
1818
) {

src/Http/Exception/HttpExceptionInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
interface HttpExceptionInterface
1010
{
11-
1211
public function buildJsonResponse(ResponseInterface $response): ResponseInterface;
1312
public function getHeaders(): array;
1413
public function getStatusCode(): int;

src/Middleware/MiddlewareAwareInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
interface MiddlewareAwareInterface
1010
{
11-
1211
public function getMiddlewareStack(): iterable;
1312
public function lazyMiddleware(string $middleware): MiddlewareAwareInterface;
1413
public function lazyMiddlewares(array $middlewares): MiddlewareAwareInterface;

0 commit comments

Comments
 (0)