| Conditions | 4 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 4 |
| Changes | 0 | ||
| 1 | <?php |
||
| 56 | 11 | public function next(): void |
|
| 57 | { |
||
| 58 | 11 | if (!isset($this->entries)) { |
|
| 59 | // Shouldn't happen if `prepareNext()` works correctly |
||
| 60 | return; // @codeCoverageIgnore |
||
| 61 | } |
||
| 62 | |||
| 63 | 11 | $this->entries->next(); |
|
| 64 | |||
| 65 | 11 | while (!$this->entries->valid() && $this->items->valid()) { |
|
| 66 | 11 | $this->prepareNext(); |
|
| 67 | } |
||
| 113 |
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.