diff --git a/public/index.php b/public/index.php index 9982c218d..b6ec432a1 100644 --- a/public/index.php +++ b/public/index.php @@ -4,6 +4,4 @@ require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; -return function (array $context) { - return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); -}; +return fn (array $context) => new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);