Skip to content

Commit

Permalink
Remove duplicate code (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: Deeka Wong <[email protected]>
  • Loading branch information
huangdijia and huangdijia committed Mar 7, 2023
1 parent 519a869 commit 258b6e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/RestartServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ class RestartServiceProvider extends ServiceProvider

public function boot()
{
if ($this->app->runningInConsole()) {
$this->registerCommands();
}
$this->registerCommands();
}

public function register()
Expand Down

0 comments on commit 258b6e8

Please sign in to comment.