Skip to content

Commit

Permalink
Fixed CLI application
Browse files Browse the repository at this point in the history
  • Loading branch information
dolejska-daniel committed Feb 24, 2020
1 parent 1793a70 commit d367fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LeagueAPICLI/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct()
// For each existing method, create command
$commands = [];
foreach ($methods as $method)
$commands = $this->createCommandFromReflectionMethod($method);
$commands[] = $this->createCommandFromReflectionMethod($method);

foreach ($commands as $command)
$this->add($command);
Expand Down

0 comments on commit d367fba

Please sign in to comment.