Skip to content

Commit b7e0803

Browse files
authored
[FrameworkBundle] Use static closure in front controller (8.1) (#1532)
Added missing static for framework-bundle 8.1.
1 parent dd3e831 commit b7e0803

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

symfony/framework-bundle/8.1/public/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
66

7-
return function (array $context) {
7+
return static function (array $context) {
88
return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
99
};

0 commit comments

Comments
 (0)