@@ -1,5 +1,5 @@
<?php
-if (file_exists(dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php')) {
- require dirname(__DIR__).'/var/cache/prod/App_KernelProdContainer.preload.php';
+foreach (glob(dirname(__DIR__).'/var/cache/prod/*.preload.php') ?: [] as $file) {
+ require $file;
}
@@ -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']);
};
@@ -317,7 +317,7 @@
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "7.4",
- "ref": "09f6e081c763a206802674ce0cb34a022f0ffc6d"
+ "ref": "5ea2ed9cd29ca8fc2cb9bca9cb7b7e0a8d2be1dc"
},
"files": [
".editorconfig",