Skip to content

Commit

Permalink
Fix injection of undefined annotations.cache parameter (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
jderusse authored Dec 13, 2023
1 parent f8260c0 commit d07b81c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/parameters.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
]);
Expand Down

0 comments on commit d07b81c

Please sign in to comment.