| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | abstract class AbstractAsyncProcessor implements ProcessorInterface |
||
| 23 | { |
||
| 24 | private ?MessageBusInterface $bus = null; |
||
| 25 | |||
| 26 | 1 | public function begin(Message $message) |
|
| 28 | 1 | } |
|
| 29 | |||
| 30 | 1 | public function item(Message $message) |
|
| 31 | { |
||
| 32 | 1 | $this->bus->dispatch(new AsyncMessage($message)); |
|
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | abstract public function processItem(AsyncMessage $message); |
||
| 36 | |||
| 37 | 1 | public function end(Message $message) |
|
| 38 | { |
||
| 39 | 1 | } |
|
| 40 | |||
| 41 | 1 | #[Required] |
|
| 45 | } |
||
| 46 | } |
||
| 47 |
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.