Skip to content

Commit

Permalink
Change dispatch() to dispatch_now()
Browse files Browse the repository at this point in the history
  • Loading branch information
intrepidws authored Apr 30, 2018
1 parent a8f79d0 commit 8e26e71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/TunnelerCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class TunnelerCommand extends Command {

public function handle(){
try {
$result = dispatch(new CreateTunnel());
$result = dispatch_now(new CreateTunnel());
}catch (\ErrorException $e){
$this->error($e->getMessage());
return 1;
Expand All @@ -38,4 +38,4 @@ public function handle(){
$this->warn('I have no idea how this happened. Let me know if you figure it out.');
return 1;
}
}
}

0 comments on commit 8e26e71

Please sign in to comment.