diff --git a/src/LeagueAPICLI/Application.php b/src/LeagueAPICLI/Application.php index f3c9258d..da6d4684 100644 --- a/src/LeagueAPICLI/Application.php +++ b/src/LeagueAPICLI/Application.php @@ -54,7 +54,8 @@ public function __construct() $commands[] = $this->createCommandFromReflectionMethod($method); foreach ($commands as $command) - $this->add($command); + if ($command) + $this->add($command); } /**