|
@@ -63,7 +63,7 @@ |
|
|
block discarded – undo |
|
63
|
63
|
$this->seedMiddlewareStack(); |
|
64
|
64
|
} |
|
65
|
65
|
$next = $this->stack->top(); |
|
66
|
|
- $this->stack[] = function (ServerRequestInterface $request, ResponseInterface $response) use ($callable, $next) { |
|
|
66
|
+ $this->stack[] = function(ServerRequestInterface $request, ResponseInterface $response) use ($callable, $next) { |
|
67
|
67
|
$result = call_user_func($callable, $request, $response, $next); |
|
68
|
68
|
if ($result instanceof ResponseInterface === false) { |
|
69
|
69
|
throw new UnexpectedValueException( |
Please login to merge, or discard this patch.