Skip to content

Commit

Permalink
pass an instance of the job to queued closures (#34350)
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid authored Sep 15, 2020
1 parent 02d1424 commit 4805818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/CallQueuedClosure.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static function create(Closure $job)
*/
public function handle(Container $container)
{
$container->call($this->closure->getClosure());
$container->call($this->closure->getClosure(), ['job' => $this]);
}

/**
Expand Down

0 comments on commit 4805818

Please sign in to comment.