Skip to content

Commit

Permalink
fix: use make instead call
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuftaufiq committed Apr 6, 2022
1 parent 49b47b8 commit 6e5e818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function __construct()
public function registerCommands()
{
$this->app
->command(GenerateCommand::$expression, $this->container->call(GenerateCommand::class))
->command(GenerateCommand::$expression, $this->container->make(GenerateCommand::class))
->descriptions(GenerateCommand::$description, GenerateCommand::$options);

return $this;
Expand Down

0 comments on commit 6e5e818

Please sign in to comment.