Skip to content

Commit

Permalink
Simplify class_uses_recursive() uses (#24931)
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir authored and taylorotwell committed Jul 23, 2018
1 parent c6709d0 commit 0a57b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CallQueuedHandler.php
Expand Up @@ -85,7 +85,7 @@ protected function resolveHandler($job, $command)
*/
protected function setJobInstanceIfNecessary(Job $job, $instance)
{
if (in_array(InteractsWithQueue::class, class_uses_recursive(get_class($instance)))) {
if (in_array(InteractsWithQueue::class, class_uses_recursive($instance))) {
$instance->setJob($job);
}

Expand Down

0 comments on commit 0a57b25

Please sign in to comment.