Test Failed
Push — master ( 3e22f3...90cc1b )
by Kirill
03:50
created
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 Rule implements ValueInterface, CompositeValueInterface
19 19
 {
20 20
     /**
21
-     * @return iterable
21
+     * @return \Generator
22 22
      */
23 23
     public function toPrimitive(): iterable
24 24
     {
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     }
29 29
 
30 30
     /**
31
-     * @return iterable|ValueInterface[]
31
+     * @return \Generator
32 32
      */
33 33
     public function getValues(): iterable
34 34
     {
Please login to merge, or discard this patch.
src/Compiler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14
-use Railt\Parser\Exception\UnexpectedTokenException;
15 14
 use Railt\Parser\Exception\UnrecognizedTokenException;
16 15
 use Railt\Reflection\Contracts\Definition;
17 16
 use Railt\Reflection\Contracts\Dictionary;
Please login to merge, or discard this patch.
src/Compiler/Ast/Common/DirectivesProvider.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
 trait DirectivesProvider
18 18
 {
19 19
     /**
20
-     * @return iterable|DirectiveNode[]
20
+     * @return \Generator
21 21
      */
22 22
     public function getDirectives(): iterable
23 23
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/ArgumentDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return null|ValueInterface|NodeInterface
43
+     * @return ValueInterface|null
44 44
      */
45 45
     public function getDefaultValue(): ?ValueInterface
46 46
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/DirectiveNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     }
41 41
 
42 42
     /**
43
-     * @return iterable|DirectiveArgumentNode[]
43
+     * @return \Generator
44 44
      */
45 45
     public function getDirectiveArguments(): iterable
46 46
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/FieldDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @return iterable|ArgumentDefinitionNode[]
42
+     * @return \Generator
43 43
      */
44 44
     public function getArguments(): iterable
45 45
     {
Please login to merge, or discard this patch.
src/Compiler/Factory.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 namespace Railt\SDL\Compiler;
11 11
 
12 12
 use Railt\Parser\Ast\RuleInterface;
13
-use Railt\Reflection\Contracts\Dictionary;
14 13
 use Railt\Reflection\Document;
15 14
 use Railt\SDL\Compiler\Processor\Definition;
16 15
 use Railt\SDL\Compiler\Processor\Extension;
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/InputUnionProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Railt\Reflection\Contracts\Definition\TypeDefinition;
14 14
 use Railt\Reflection\Definition\InputUnionDefinition;
15 15
 use Railt\SDL\Compiler\Ast\Definition\InputUnionDefinitionNode;
16
-use Railt\SDL\Compiler\Processor\BaseProcessor;
17 16
 
18 17
 /**
19 18
  * Class InputUnionProcessor
Please login to merge, or discard this patch.
src/Compiler/Processor/Definition/ObjectProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Railt\Reflection\Contracts\Definition\TypeDefinition;
14 14
 use Railt\Reflection\Definition\ObjectDefinition;
15 15
 use Railt\SDL\Compiler\Ast\Definition\ObjectDefinitionNode;
16
-use Railt\SDL\Compiler\Processor\BaseProcessor;
17 16
 
18 17
 /**
19 18
  * Class DirectiveDefinition
Please login to merge, or discard this patch.