Skip to content

Commit

Permalink
get rid of backwards if expression
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 13, 2016
1 parent 5325385 commit d0b2019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Console/Scheduling/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ public function run(Container $container)
$this->cache->put($this->mutexName(), true, 1440);
}

if (! $this->runInBackground) {
$this->runCommandInForeground($container);
} else {
if ($this->runInBackground) {
$this->runCommandInBackground();
} else {
$this->runCommandInForeground($container);
}
}

Expand Down

0 comments on commit d0b2019

Please sign in to comment.