Skip to content

Commit

Permalink
Update ListFailedCommand.php (#34696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Norgul authored Oct 6, 2020
1 parent 1760f44 commit 524cf5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Console/ListFailedCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ protected function parseFailedJob(array $failed)
{
$row = array_values(Arr::except($failed, ['payload', 'exception']));

array_splice($row, 3, 0, $this->extractJobName($failed['payload']));
array_splice($row, 3, 0, $this->extractJobName($failed['payload']) ?: '');

return $row;
}
Expand Down

0 comments on commit 524cf5b

Please sign in to comment.