Skip to content

Commit

Permalink
Removed duplicate MiddlewareInterface from ErrorHandler
Browse files Browse the repository at this point in the history
Signed-off-by: alexmerlin <[email protected]>
  • Loading branch information
alexmerlin committed Feb 20, 2025
1 parent 7ab5274 commit b0e9f3b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
use Laminas\Stratigility\Middleware\ErrorResponseGenerator;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Throwable;

Expand All @@ -17,7 +16,7 @@
use function restore_error_handler;
use function set_error_handler;

class ErrorHandler implements MiddlewareInterface, ErrorHandlerInterface
class ErrorHandler implements ErrorHandlerInterface
{
/** @var callable[] */
private array $listeners = [];
Expand Down

0 comments on commit b0e9f3b

Please sign in to comment.