| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class UniqueVariableNamesRule extends AbstractRule |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var NameNode[] |
||
| 21 | */ |
||
| 22 | protected $knownVariableNames = []; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @inheritdoc |
||
| 26 | */ |
||
| 27 | protected function enterOperationDefinition(OperationDefinitionNode $node): VisitorResult |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @inheritdoc |
||
| 36 | */ |
||
| 37 | protected function enterVariableDefinition(VariableDefinitionNode $node): VisitorResult |
||
| 56 |