| Conditions | 3 |
| Paths | 3 |
| Total Lines | 17 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | protected function parseDefinition() : void |
||
| 12 | { |
||
| 13 | // some entries are strings, like parenthesises, semicolons and the like. |
||
| 14 | if(is_string($this->definition)) |
||
| 15 | { |
||
| 16 | $this->token = $this->definition; |
||
| 17 | $this->value = null; |
||
| 18 | |||
| 19 | if(isset($this->parentToken)) { |
||
| 20 | $this->line = $this->parentToken->getLine(); |
||
|
|
|||
| 21 | } |
||
| 22 | } |
||
| 23 | else |
||
| 24 | { |
||
| 25 | $this->token = JTokenizer::getTokenName($this->definition[0]); |
||
| 26 | $this->value = $this->definition[1]; |
||
| 27 | $this->line = $this->definition[2]; |
||
| 28 | } |
||
| 73 |
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.