| Conditions | 3 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 26 | public function prepend(...$nodes): void |
||
| 27 | { |
||
| 28 | foreach (array_reverse($nodes) as $node) |
||
| 29 | { |
||
| 30 | $this->insertBefore(is_string($node) ? $this->ownerDocument->createTextNode($node) : $node, $this->firstChild); |
||
|
1 ignored issue
–
show
|
|||
| 31 | } |
||
| 33 | } |
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.