8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 020664e commit be75bd9Copy full SHA for be75bd9
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -143,7 +143,7 @@ private function addCsrfSection(ArrayNodeDefinition $rootNode)
143
$rootNode
144
->children()
145
->arrayNode('csrf_protection')
146
- ->{!class_exists(FullStack::class) && class_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
+ ->{!class_exists(FullStack::class) && interface_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
147
->end()
148
149
;
0 commit comments