Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 21, 2021
1 parent 0dc9d84 commit 2fb5e44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/Console/RetryCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ protected function refreshRetryUntil($payload)

if (Str::startsWith($payload['data']['command'], 'O:')) {
$instance = unserialize($payload['data']['command']);
} elseif (app()->bound(Encrypter::class)) {
$instance = unserialize(app()->make(Encrypter::class)->decrypt($payload['data']['command']));
} elseif ($this->laravel->bound(Encrypter::class)) {
$instance = unserialize($this->laravel->make(Encrypter::class)->decrypt($payload['data']['command']));
}

if (! isset($instance)) {
Expand Down

0 comments on commit 2fb5e44

Please sign in to comment.