Skip to content

Commit

Permalink
Merge fb92413 into 5f310ce
Browse files Browse the repository at this point in the history
  • Loading branch information
JuveLee committed Sep 3, 2017
2 parents 5f310ce + fb92413 commit aab4a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GO/Scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function call(callable $fn, $args = [], $id = null)
public function php($script, $bin = null, $args = [], $id = null)
{
$bin = $bin !== null && is_string($bin) && file_exists($bin) ?
$bin : PHP_BINARY === '' ? '/usr/bin/php' : PHP_BINARY;
$bin : (PHP_BINARY === '' ? '/usr/bin/php' : PHP_BINARY);

$job = new Job($bin . ' ' . $script, $args, $id);

Expand Down

0 comments on commit aab4a42

Please sign in to comment.