Test Failed
Push — master ( 690100...f55788 )
by Kirill
09:19
created
src/Frontend/Builder/Definition/InputBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|InputDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/InputFieldBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * @param Readable $file
27 27
      * @param RuleInterface|InputFieldDefinitionNode $ast
28
-     * @return \Generator|mixed
28
+     * @return TypeDefinition
29 29
      */
30 30
     public function build(Readable $file, RuleInterface $ast)
31 31
     {
Please login to merge, or discard this 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\SDL\Frontend\Ast\Definition\InputDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\InputFieldDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/InterfaceBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|InterfaceDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
         $interface = new TypeDefinition($ast->getFullName());
32 32
         $interface->in($file, $ast->getOffset());
33 33
 
34
-        $interface->type = Type::INTERFACE;
34
+        $interface->type = Type::interface;
35 35
         $interface->description = $ast->getDescription();
36 36
 
37 37
         $this->loadInterfaces($ast, $interface);
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/ObjectBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|ObjectDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return \Generator
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/ScalarBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     /**
25 25
      * @param Readable $file
26 26
      * @param RuleInterface|ScalarDefinitionNode $ast
27
-     * @return \Generator|mixed
27
+     * @return TypeDefinition
28 28
      */
29 29
     public function build(Readable $file, RuleInterface $ast)
30 30
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     /**
27 27
      * @param Readable $file
28 28
      * @param RuleInterface|SchemaDefinitionNode $ast
29
-     * @return \Generator|mixed
29
+     * @return \Generator
30 30
      */
31 31
     public function build(Readable $file, RuleInterface $ast)
32 32
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Railt\Io\Readable;
13 13
 use Railt\Parser\Ast\RuleInterface;
14 14
 use Railt\Reflection\Contracts\Definition\SchemaDefinition;
15
-use Railt\SDL\Frontend\Ast\Definition\ObjectDefinitionNode;
16 15
 use Railt\SDL\Frontend\Ast\Definition\SchemaDefinitionNode;
17 16
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
18 17
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaFieldBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * @param Readable $file
27 27
      * @param RuleInterface|SchemaFieldDefinitionNode $ast
28
-     * @return \Generator|mixed
28
+     * @return TypeDefinition
29 29
      */
30 30
     public function build(Readable $file, RuleInterface $ast)
31 31
     {
Please login to merge, or discard this 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\SDL\Frontend\Ast\Definition\SchemaDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\SchemaFieldDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/UnionBuilder.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
     /**
26 26
      * @param Readable $file
27 27
      * @param RuleInterface|UnionDefinitionNode $ast
28
-     * @return \Generator|mixed
28
+     * @return TypeDefinition
29 29
      */
30 30
     public function build(Readable $file, RuleInterface $ast)
31 31
     {
Please login to merge, or discard this 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\SDL\Frontend\Ast\Definition\ObjectDefinitionNode;
15 14
 use Railt\SDL\Frontend\Ast\Definition\UnionDefinitionNode;
16 15
 use Railt\SDL\Frontend\Builder\DefinitionBuilder;
17 16
 use Railt\SDL\IR\Type;
Please login to merge, or discard this patch.
src/Frontend/Builder/DocumentBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param Readable $file
23 23
      * @param RuleInterface $ast
24
-     * @return \Generator|mixed|Definition|\Railt\SDL\IR\TypeDefinition|\Railt\SDL\IR\TypeInvocation
24
+     * @return \Generator
25 25
      */
26 26
     public function build(Readable $file, RuleInterface $ast)
27 27
     {
Please login to merge, or discard this patch.