Skip to content

Commit

Permalink
Style fixes suggested in laravel/framework#15319
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Brokman committed Sep 7, 2016
1 parent be26c0e commit b1db4ec
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,9 @@ protected function handleJobException($connectionName, $job, WorkerOptions $opti
}

/**
* Mark the given job as failed if it has exceeded the maximum allowed attempts. This will likely be because
* the job previously exceeded a timeout.
* Mark the given job as failed if it has exceeded the maximum allowed attempts.
*
* This will likely be because the job previously exceeded a timeout.
*
* @param string $connectionName
* @param \Illuminate\Contracts\Queue\Job $job
Expand All @@ -269,7 +270,8 @@ protected function markJobAsFailedIfAlreadyExceedsMaxAttempts($connectionName, $
}

$e = new AttemptsExceededException(
'Queue job has already been attempted more than maxTries, it may have previously timed out');
'Queue job has already been attempted more than maxTries, it may have previously timed out'
);

$this->failJob($connectionName, $job, $e);

Expand Down

0 comments on commit b1db4ec

Please sign in to comment.