You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -407,8 +404,8 @@ public function add(Command $command)
407
404
return;
408
405
}
409
406
410
-
if (null === $command->getAliases()) {
411
-
thrownew \LogicException(sprintf('You must call the parent constructor in "%s::__construct()"', get_class($command)));
407
+
if (null === $command->getDefinition()) {
408
+
thrownew \LogicException(sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', get_class($command)));
0 commit comments