Skip to content

Commit 326c06a

Browse files
committed
IBX-10428: Fixed invokable commands failing to compile Container
1 parent accacab commit 326c06a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/bundle/Core/DependencyInjection/Compiler/ConsoleCommandPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function process(ContainerBuilder $container): void
2121
$definition = $container->getDefinition($id);
2222

2323
$class = $definition->getClass();
24-
if (!is_a($class, Command::class, true)) {
24+
if ($class === null || !is_a($class, Command::class, true)) {
2525
continue;
2626
}
2727

0 commit comments

Comments
 (0)