| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | 4 | public function call(?BaseToken ...$parameters): BaseToken |
|
| 17 | { |
||
| 18 | 4 | $needle = $this->parseParameter($parameters, 0); |
|
| 19 | 4 | $value = strpos($this->token->getValue(), $needle->getValue()); |
|
|
|
|||
| 20 | |||
| 21 | 4 | return new TokenBool($value === strlen($needle->getValue()) - 1); |
|
| 22 | } |
||
| 24 |
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.