Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jan 17, 2025
1 parent 08c2101 commit aa01ced
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Queue/Jobs/Job.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ public function fail($e = null)
*/
protected function shouldRollBackDatabaseTransaction($e)
{
return ($e instanceof TimeoutExceededException &&
return $e instanceof TimeoutExceededException &&
$this->container['config']['queue.failed.database'] &&
in_array($this->container['config']['queue.failed.driver'], ['database', 'database-uuids']) &&
$this->container->bound('db'));
$this->container->bound('db');
}

/**
Expand Down

0 comments on commit aa01ced

Please sign in to comment.