Revert "bug #25502 Fixing wrong class_exists on interface (weaverryan)"

This reverts commit 5fd5f19eaf, reversing
changes made to 826d545ba0.
This commit is contained in:
Fabien Potencier 2017-12-14 17:44:00 -08:00
parent 3c67741954
commit 8013b4b2d3

View File

@ -143,7 +143,7 @@ class Configuration implements ConfigurationInterface
$rootNode
->children()
->arrayNode('csrf_protection')
->{!class_exists(FullStack::class) && interface_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
->{!class_exists(FullStack::class) && class_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
->end()
->end()
;