Completed
Push — master ( 7510c8...82c7bd )
by Kirill
08:19
created
src/Compiler/Ast/Definition/DirectiveDefinitionNode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 class DirectiveDefinitionNode extends TypeDefinitionNode
19 19
 {
20 20
     /**
21
-     * @return iterable|string[]
21
+     * @return \Generator
22 22
      */
23 23
     public function getLocations(): iterable
24 24
     {
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     }
32 32
 
33 33
     /**
34
-     * @return iterable|ArgumentDefinitionNode[]
34
+     * @return \Generator
35 35
      */
36 36
     public function getArguments(): iterable
37 37
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Definition/EnumDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class EnumDefinitionNode extends TypeDefinitionNode
18 18
 {
19 19
     /**
20
-     * @return iterable|EnumValueDefinitionNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getEnumValues(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Definition/InputDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class InputDefinitionNode extends TypeDefinitionNode
18 18
 {
19 19
     /**
20
-     * @return iterable|InputFieldDefinitionNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getInputFields(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Definition/InputUnionDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class InputUnionDefinitionNode extends TypeDefinitionNode
18 18
 {
19 19
     /**
20
-     * @return iterable|TypeNameNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getUnitedTypes(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Definition/SchemaDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class SchemaDefinitionNode extends TypeDefinitionNode
18 18
 {
19 19
     /**
20
-     * @return iterable|SchemaFieldDefinitionNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getSchemaFields(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Definition/UnionDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 class UnionDefinitionNode extends TypeDefinitionNode
18 18
 {
19 19
     /**
20
-     * @return iterable|TypeNameNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getUnitedTypes(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Invocation/DirectiveArgumentNode.php 1 patch
Unused Use Statements   -5 removed lines patch added patch discarded remove patch
@@ -10,12 +10,7 @@
 block discarded – undo
10 10
 namespace Railt\SDL\Compiler\Ast\Invocation;
11 11
 
12 12
 use Railt\Parser\Ast\Rule;
13
-use Railt\Reflection\Contracts\Invocation\TypeInvocation;
14
-use Railt\Reflection\Invocation\Dependent\ArgumentInvocation;
15
-use Railt\Reflection\Invocation\DirectiveInvocation;
16 13
 use Railt\SDL\Compiler\Ast\Value\BaseValueNode;
17
-use Railt\SDL\Compiler\Ast\Value\ValueNode;
18
-use Railt\SDL\Compiler\Builder\Value\BaseValue;
19 14
 
20 15
 /**
21 16
  * Class DirectiveArgumentNode
Please login to merge, or discard this patch.
src/Compiler/Ast/Value/InputValueNode.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 class InputValueNode extends BaseValueNode
19 19
 {
20 20
     /**
21
-     * @return iterable|BaseValueNode[]
21
+     * @return \Generator
22 22
      */
23 23
     public function toPrimitive(): iterable
24 24
     {
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @return iterable|BaseValueNode[]
29
+     * @return \Generator
30 30
      */
31 31
     public function getValues(): iterable
32 32
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Value/StringValueNode.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,6 @@
 block discarded – undo
9 9
 
10 10
 namespace Railt\SDL\Compiler\Ast\Value;
11 11
 
12
-use Railt\Reflection\Contracts\Document;
13
-use Railt\SDL\Compiler\Builder\Value\StringValue;
14
-use Railt\SDL\Compiler\Builder\Value\ValueInterface;
15
-
16 12
 /**
17 13
  * Class StringValueNode
18 14
  */
Please login to merge, or discard this patch.