diff --git a/symfony/framework-bundle/8.1/public/index.php b/symfony/framework-bundle/8.1/public/index.php index 9982c218..c0037a8d 100644 --- a/symfony/framework-bundle/8.1/public/index.php +++ b/symfony/framework-bundle/8.1/public/index.php @@ -4,6 +4,6 @@ use App\Kernel; require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; -return function (array $context) { +return static function (array $context) { return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']); };