From d07b81c8f03cae45deec2c189a4dd29bb4b1e09f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Deruss=C3=A9?= Date: Wed, 13 Dec 2023 23:30:36 +0100 Subject: [PATCH] Fix injection of undefined annotations.cache parameter (#86) --- src/config/parameters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/parameters.php b/src/config/parameters.php index 6c83730..8544366 100644 --- a/src/config/parameters.php +++ b/src/config/parameters.php @@ -5,7 +5,7 @@ $container->loadFromExtension('framework', [ 'annotations' => ['enabled' => false], ]); -} else { +} elseif (method_exists('Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension', 'registerAnnotationsConfiguration')) { $container->loadFromExtension('framework', [ 'annotations' => ['cache' => 'none'], ]);