diff --git a/Slim/Factory/AppFactory.php b/Slim/Factory/AppFactory.php index 56bab9eb2..7cb6357af 100644 --- a/Slim/Factory/AppFactory.php +++ b/Slim/Factory/AppFactory.php @@ -124,7 +124,14 @@ public static function createFromContainer(ContainerInterface $container): App ? $container->get(MiddlewareDispatcherInterface::class) : null; - return new App($responseFactory, $container, $callableResolver, $routeCollector, $routeResolver, $middlewareDispatcher); + return new App( + $responseFactory, + $container, + $callableResolver, + $routeCollector, + $routeResolver, + $middlewareDispatcher + ); } /**