| Total Complexity | 2 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 18 | class BatchJob extends DatabaseJob |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * The database queue instance. |
||
| 22 | * |
||
| 23 | * @var \LukeWaite\LaravelQueueAwsBatch\Queues\BatchQueue |
||
| 24 | */ |
||
| 25 | protected $database; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Release the job back into the queue. |
||
| 29 | * |
||
| 30 | * Here we need to retain the same jobId, so Batch can retry it, so we need to override the parent. |
||
| 31 | * |
||
| 32 | * @param int $delay |
||
| 33 | * |
||
| 34 | * @return void |
||
| 35 | * @throws UnsupportedException |
||
| 36 | */ |
||
| 37 | 6 | public function release($delay = 0) |
|
| 48 |