From 8013b4b2d37f429c1db941cfcf2a9c06b354c525 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 14 Dec 2017 17:44:00 -0800 Subject: [PATCH] Revert "bug #25502 Fixing wrong class_exists on interface (weaverryan)" This reverts commit 5fd5f19eaf3c4041a3556867270974cbcf0e8f90, reversing changes made to 826d545ba0dda18f468601df40fc7218f051861e. --- .../FrameworkBundle/DependencyInjection/Configuration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php index bfb5f9e70d..c9dbd6af77 100644 --- a/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php +++ b/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php @@ -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() ;