Skip to content

Commit 93c90d4

Browse files
committed
Fixing bad class_exists vs interface_exists
1 parent 1150b9d commit 93c90d4

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
@@ -970,7 +970,7 @@ private function addMessengerSection(ArrayNodeDefinition $rootNode)
970970
->children()
971971
->arrayNode('messenger')
972972
->info('Messenger configuration')
973-
->{!class_exists(FullStack::class) && class_exists(MessageBusInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
973+
->{!class_exists(FullStack::class) && interface_exists(MessageBusInterface::class) ? 'canBeDisabled' : 'canBeEnabled'}()
974974
->fixXmlConfig('adapter')
975975
->children()
976976
->arrayNode('routing')

0 commit comments

Comments
 (0)