| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function build(LexerInterface $lexer, array $params): ?array |
||
| 24 | { |
||
| 25 | $isConst = $params['isConst'] ?? false; |
||
| 26 | |||
| 27 | $directives = []; |
||
| 28 | |||
| 29 | while ($this->peek($lexer, TokenKindEnum::AT)) { |
||
| 30 | $directives[] = $this->parseDirective($lexer, $isConst); |
||
| 31 | } |
||
| 32 | |||
| 33 | return $directives; |
||
| 34 | } |
||
| 56 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.