| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function __construct(array $expectedTokenCategories, array $parsedTokenStream, $message = null, $previous = null) |
||
|
|
|||
| 25 | { |
||
| 26 | $this->expectedTokenCategories = $expectedTokenCategories; |
||
| 27 | |||
| 28 | $message = $message ?: "Unexpected end of expression. Expected token of one of type: " . implode(', ', $expectedTokenCategories); |
||
| 29 | |||
| 30 | parent::__construct($message); |
||
| 31 | $this->parsedTokenStream = $parsedTokenStream; |
||
| 32 | } |
||
| 33 | |||
| 50 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.