Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit09b1144

Browse files
committed
bug #25502 Fixing wrong class_exists on interface (weaverryan)
This PR was merged into the 3.4 branch.Discussion----------Fixing wrong class_exists on interface| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets | none| License | MIT| Doc PR |symfony/symfony-docs#8873 already does not mention changing anything in the configThis was a bug introduced in #25151 on the 3.4 branch. It's... pretty self-explanatory I hope :).Cheers!Commits-------be75bd994b Fixing wrong class_exists on interface
2 parents4d51edb +b28ee09 commit09b1144

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) &&class_exists(CsrfTokenManagerInterface::class) ?'canBeDisabled' :'canBeEnabled'}()
146+
->{!class_exists(FullStack::class) &&interface_exists(CsrfTokenManagerInterface::class) ?'canBeDisabled' :'canBeEnabled'}()
147147
->end()
148148
->end()
149149
;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp