| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 19 | public function visit(AbstractNode $node, ?AbstractVisitor $subVisitor = null, ?array $options = null): string |
||
| 20 | { |
||
| 21 | /** @var LogicalAnd|LogicalOr $logicalNode */ |
||
| 22 | $logicalNode = $node; |
||
| 23 | $clauses = [ |
||
| 24 | $subVisitor->visit($logicalNode->getLeftOperand(), $subVisitor, $options), |
||
|
|
|||
| 25 | $subVisitor->visit($logicalNode->getRightOperand(), $subVisitor, $options), |
||
| 26 | ]; |
||
| 27 | |||
| 28 | return implode(" {$logicalNode->getToken()->getLexeme()} ", $clauses); |
||
| 29 | } |
||
| 32 |
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.