| Conditions | 4 |
| Paths | 5 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 5.4042 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 76 | 12 | public function handle(Record $record) |
|
| 77 | { |
||
| 78 | 12 | if (!$this->isHandling($record)) { |
|
| 79 | return true; |
||
| 80 | } |
||
| 81 | |||
| 82 | 12 | if ($this instanceof ProcessorContainerInterface) { |
|
| 83 | $this->applyProcessors($record); |
||
|
|
|||
| 84 | } |
||
| 85 | |||
| 86 | 12 | if (false === $this->write($record)) { |
|
| 87 | return true; |
||
| 88 | } |
||
| 89 | |||
| 90 | 12 | return $this->pass; |
|
| 91 | } |
||
| 92 | |||
| 100 |
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.