@@ -52,7 +52,7 @@ |
||
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
55 | - * @param RuleInterface|NodeInterface $rule |
|
55 | + * @param null|NodeInterface $rule |
|
56 | 56 | * @return \Generator |
57 | 57 | */ |
58 | 58 | private function analyze(RuleInterface $rule): \Generator |
@@ -18,7 +18,7 @@ |
||
18 | 18 | trait ArgumentsProvider |
19 | 19 | { |
20 | 20 | /** |
21 | - * @return iterable|ArgumentDefinitionNode[] |
|
21 | + * @return \Generator |
|
22 | 22 | */ |
23 | 23 | public function getArgumentNodes(): iterable |
24 | 24 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | trait DirectivesProvider |
18 | 18 | { |
19 | 19 | /** |
20 | - * @return iterable|DirectiveInvocationNode[] |
|
20 | + * @return \Generator |
|
21 | 21 | */ |
22 | 22 | public function getDirectiveNodes(): iterable |
23 | 23 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | trait FieldsProvider |
19 | 19 | { |
20 | 20 | /** |
21 | - * @return iterable|FieldDefinitionNode[] |
|
21 | + * @return \Generator |
|
22 | 22 | */ |
23 | 23 | public function getFieldNodes(): iterable |
24 | 24 | { |
@@ -18,7 +18,7 @@ |
||
18 | 18 | trait InterfacesProvider |
19 | 19 | { |
20 | 20 | /** |
21 | - * @return iterable|TypeNameNode[] |
|
21 | + * @return \Generator |
|
22 | 22 | */ |
23 | 23 | public function getInterfaceNodes(): iterable |
24 | 24 | { |
@@ -92,7 +92,7 @@ |
||
92 | 92 | } |
93 | 93 | |
94 | 94 | /** |
95 | - * @param ProvidesDefinition|RuleInterface $rule |
|
95 | + * @param RuleInterface $rule |
|
96 | 96 | * @param DefinitionInterface $parent |
97 | 97 | * @return DefinitionInterface |
98 | 98 | * @throws CompilerException |
@@ -27,8 +27,8 @@ discard block |
||
27 | 27 | class ImplementationSystem extends System |
28 | 28 | { |
29 | 29 | /** |
30 | - * @param Definition|ProvidesInterfaces|HasInterfaces $parent |
|
31 | - * @param RuleInterface|ProvidesInterfaceNodes $ast |
|
30 | + * @param Definition $parent |
|
31 | + * @param RuleInterface $ast |
|
32 | 32 | */ |
33 | 33 | public function resolve(Definition $parent, RuleInterface $ast): void |
34 | 34 | { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param ProvidesInterfaces|HasInterfaces|TypeDefinition $parent |
|
53 | + * @param ProvidesInterfaces $parent |
|
54 | 54 | * @param TypeNameNode $ast |
55 | 55 | * @throws \Railt\Io\Exception\ExternalFileException |
56 | 56 | * @throws \Railt\Reflection\Exception\TypeNotFoundException |
@@ -22,7 +22,7 @@ |
||
22 | 22 | class ArgumentSystem extends System |
23 | 23 | { |
24 | 24 | /** |
25 | - * @param Definition|HasArguments $definition |
|
25 | + * @param Definition $definition |
|
26 | 26 | * @param RuleInterface $ast |
27 | 27 | */ |
28 | 28 | public function resolve(Definition $definition, RuleInterface $ast): void |
@@ -22,7 +22,7 @@ |
||
22 | 22 | class FieldSystem extends System |
23 | 23 | { |
24 | 24 | /** |
25 | - * @param Definition|HasFields $definition |
|
25 | + * @param Definition $definition |
|
26 | 26 | * @param RuleInterface $ast |
27 | 27 | */ |
28 | 28 | public function resolve(Definition $definition, RuleInterface $ast): void |