@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace Railt\Compiler\Grammar\PP2\Delegate; |
11 | 11 | |
12 | -use Railt\Parser\Ast\Rule; |
|
13 | 12 | use Railt\Parser\Rule\Symbol; |
14 | 13 | |
15 | 14 | /** |
@@ -31,7 +31,7 @@ |
||
31 | 31 | } |
32 | 32 | |
33 | 33 | /** |
34 | - * @param RuleInterface|NodeInterface $repetition |
|
34 | + * @param null|NodeInterface $repetition |
|
35 | 35 | * @return array |
36 | 36 | */ |
37 | 37 | private function getInterval(RuleInterface $repetition): array |
@@ -10,7 +10,6 @@ |
||
10 | 10 | namespace Railt\Compiler\Grammar\PP2\Delegate; |
11 | 11 | |
12 | 12 | use Railt\Parser\Ast\NodeInterface; |
13 | -use Railt\Parser\Ast\Rule; |
|
14 | 13 | use Railt\Parser\Ast\RuleInterface; |
15 | 14 | use Railt\Parser\Rule\Repetition; |
16 | 15 | use Railt\Parser\Rule\Symbol; |