Skip to content

Commit

Permalink
Correctly merge object payload data (#36998)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrooksuk committed Apr 15, 2021
1 parent ca73c51 commit d5cb1d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/Queue.php
Expand Up @@ -157,10 +157,10 @@ protected function createObjectPayload($job, $queue)
: serialize(clone $job);

return array_merge($payload, [
'data' => [
'data' => array_merge($payload['data'], [
'commandName' => get_class($job),
'command' => $command,
],
]),
]);
}

Expand Down

0 comments on commit d5cb1d5

Please sign in to comment.