Fixed CS
This commit is contained in:
parent
6f57fcf9b7
commit
ddfb3089c9
|
@ -128,7 +128,7 @@ class RegisterListenersPass implements CompilerPassInterface
|
|||
$dispatcherDefinitions[] = $container->getDefinition($attributes['dispatcher']);
|
||||
}
|
||||
|
||||
if ([] === $dispatcherDefinitions) {
|
||||
if (!$dispatcherDefinitions) {
|
||||
$dispatcherDefinitions = [$globalDispatcherDefinition];
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue