| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function execute(int $abandonedJobMessageId) |
||
| 38 | { |
||
| 39 | $abandonedJobMessage = $this->abandonedJobMessageStore->abandonedJobMessageOfId($abandonedJobMessageId); |
||
| 40 | $queue = $this->context->createQueue($abandonedJobMessage->queue()); |
||
|
|
|||
| 41 | $message = $this->context->createMessage($$abandonedJobMessage->message()); |
||
| 42 | try { |
||
| 43 | $this->context->createProducer()->send($queue, $message); |
||
| 44 | } catch (QueueException $e) { |
||
| 45 | // throw new FailedToEnqueueStoredJobException($e); |
||
| 46 | } |
||
| 47 | } |
||
| 48 | } |
||
| 49 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.