Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 16a77c3

Browse files
committed
Removing unused callable parameters
1 parent 50ec228 commit 16a77c3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Controller/MiddlewareController.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace Zend\Mvc\Controller;
1111

1212
use Psr\Http\Message\ResponseInterface;
13-
use Psr\Http\Message\ServerRequestInterface;
1413
use Zend\EventManager\EventManager;
1514
use Zend\Http\Request;
1615
use Zend\Http\Response;
@@ -90,7 +89,7 @@ public function onDispatch(MvcEvent $e)
9089
}
9190

9291
$result = $this->pipe->process($psr7Request, new CallableDelegateDecorator(
93-
function (ServerRequestInterface $request, ResponseInterface $response) {
92+
function () {
9493
throw ReachedFinalHandlerException::create();
9594
},
9695
$this->responsePrototype

0 commit comments

Comments
 (0)