Skip to content

Commit

Permalink
Small bug squash
Browse files Browse the repository at this point in the history
  • Loading branch information
philipobenito committed Nov 9, 2024
1 parent 1106130 commit 200314a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Http/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Exception extends \Exception implements HttpExceptionInterface
public function __construct(
protected int $status,
protected $message = '',
\Exception $previous = null,
?\Exception $previous = null,
protected array $headers = [],
int $code = 0
) {
Expand Down
1 change: 0 additions & 1 deletion src/Http/Exception/HttpExceptionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

interface HttpExceptionInterface
{

public function buildJsonResponse(ResponseInterface $response): ResponseInterface;
public function getHeaders(): array;
public function getStatusCode(): int;
Expand Down
1 change: 0 additions & 1 deletion src/Middleware/MiddlewareAwareInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

interface MiddlewareAwareInterface
{

public function getMiddlewareStack(): iterable;
public function lazyMiddleware(string $middleware): MiddlewareAwareInterface;
public function lazyMiddlewares(array $middlewares): MiddlewareAwareInterface;
Expand Down

0 comments on commit 200314a

Please sign in to comment.