| Total Complexity | 6 | 
| Total Lines | 50 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 17 | class UniqueInputFieldNamesRule extends AbstractRule  | 
            ||
| 18 | { | 
            ||
| 19 | /**  | 
            ||
| 20 | * @var array  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $knownInputNamesStack = [];  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @var string[]  | 
            ||
| 26 | */  | 
            ||
| 27 | protected $knownInputNames = [];  | 
            ||
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @inheritdoc  | 
            ||
| 31 | */  | 
            ||
| 32 | public function enterNode(NodeInterface $node): ?NodeInterface  | 
            ||
| 55 | }  | 
            ||
| 56 | |||
| 57 | /**  | 
            ||
| 58 | * @inheritdoc  | 
            ||
| 59 | */  | 
            ||
| 60 | public function leaveNode(NodeInterface $node): ?NodeInterface  | 
            ||
| 71 |