Skip to content

Commit

Permalink
fix breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 7, 2021
1 parent 524b1b3 commit 4415b94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Illuminate/Queue/Console/RetryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ protected function refreshRetryUntil($payload)
{
$payload = json_decode($payload, true);

if (! isset($payload['data']['command'])) {
return json_encode($payload);
}

$instance = unserialize($payload['data']['command']);

if (is_object($instance) && method_exists($instance, 'retryUntil')) {
Expand Down

0 comments on commit 4415b94

Please sign in to comment.