Skip to content

Commit

Permalink
Only filter out null values
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Hayes committed Oct 17, 2018
1 parent 275e0f0 commit 30316d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Illuminate/Queue/Listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ protected function createCommand($connection, $queue, ListenerOptions $options)
"--memory={$options->memory}",
"--sleep={$options->sleep}",
"--tries={$options->maxTries}",
]);
], function ($value) {
return ! is_null($value);
});
}

/**
Expand Down

0 comments on commit 30316d9

Please sign in to comment.