@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | public function __construct(ContainerInterface $container, string $middleware) |
22 | 22 | { |
23 | - if (! is_subclass_of($middleware, MiddlewareInterface::class, true)) { |
|
23 | + if (!is_subclass_of($middleware, MiddlewareInterface::class, true)) { |
|
24 | 24 | throw new InvalidArgumentException( |
25 | 25 | sprintf('%s does not implement %s', $middleware, MiddlewareInterface::class) |
26 | 26 | ); |
@@ -19,7 +19,7 @@ |
||
19 | 19 | |
20 | 20 | public function __construct(ContainerInterface $container, string $handler) |
21 | 21 | { |
22 | - if (! is_subclass_of($handler, RequestHandlerInterface::class, true)) { |
|
22 | + if (!is_subclass_of($handler, RequestHandlerInterface::class, true)) { |
|
23 | 23 | throw new InvalidArgumentException( |
24 | 24 | sprintf('%s does not implement %s', $handler, RequestHandlerInterface::class) |
25 | 25 | ); |