@@ -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 | ); |