Skip to content

Commit a179441

Browse files
committed
Fixed bug in ConsoleKernel.
Signed-off-by: Joshua Parker <[email protected]>
1 parent fcda3cc commit a179441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/ConsoleKernel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function commands(): void
104104
*/
105105
public function registerCommand(callable|Command $command): void
106106
{
107-
$this->getCodex()->addCommand(command: $command);
107+
$this->getCodex()->add(command: $command);
108108
}
109109

110110
/**

0 commit comments

Comments
 (0)