Skip to content

Commit

Permalink
allow checking string jobs (#19575)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored and taylorotwell committed Jun 12, 2017
1 parent 6f3b325 commit 71c77c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Support/Testing/Fakes/QueueFake.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function size($queue = null)
*/
public function push($job, $data = '', $queue = null)
{
$this->jobs[get_class($job)][] = [
$this->jobs[is_object($job) ? get_class($job) : $job][] = [
'job' => $job,
'queue' => $queue,
];
Expand Down

0 comments on commit 71c77c3

Please sign in to comment.