mirror of
https://github.com/symfony/recipes.git
synced 2026-09-11 15:16:30 +03:00
[FrameworkBundle] Use static closure in front controller (8.1) (#1532)
Added missing static for framework-bundle 8.1.
This commit is contained in:
@@ -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']);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user