@@ -29,7 +29,7 @@ discard block |
||
29 | 29 | ) { |
30 | 30 | parent::__construct($provider, null, $options); |
31 | 31 | |
32 | - $this->routeHandler = $handler; |
|
32 | + $this->routeHandler = $handler; |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function __invoke( |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | if (null !== $next) { |
51 | - return $promise->then(function (ResponseInterface $response) use ($request, $next) { |
|
51 | + return $promise->then(function(ResponseInterface $response) use ($request, $next) { |
|
52 | 52 | $response = $next($request, $response); |
53 | 53 | |
54 | 54 | return new FulfilledPromise($response); |