Skip to content

Commit 009570c

Browse files
committed
Revert "bug #25502 Fixing wrong class_exists on interface (weaverryan)"
This reverts commit 5fd5f19eaf3c4041a3556867270974cbcf0e8f90, reversing changes made to 826d545ba0dda18f468601df40fc7218f051861e.
1 parent 13b4633 commit 009570c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private function addCsrfSection(ArrayNodeDefinition $rootNode)
143143
$rootNode
144144
->children()
145145
->arrayNode('csrf_protection')
146-
->{!class_exists(FullStack::class) && interface_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
146+
->{!class_exists(FullStack::class) && class_exists(CsrfTokenManagerInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
147147
->end()
148148
->end()
149149
;

0 commit comments

Comments
 (0)