Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
29 | public function updateJobDescriptorAndJobOnException( |
||
30 | QueuedJobDescriptor $descriptor, |
||
|
|||
31 | QueuedJob $job, |
||
32 | Throwable $e |
||
33 | ): void { |
||
34 | // capture exception in the messages of the broken job for better debug options |
||
35 | $job->addMessage(sprintf('%s : %s', ClassInfo::shortName($e), $e->getMessage())); |
||
36 | } |
||
37 | } |
||
38 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.