Test Failed
Push — master ( 08713d...9fa0b4 )
by Kirill
03:13
created
src/Compiler/Builder/Common/ValueBuilder.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
 use Railt\SDL\Compiler\Ast\Value\NullValueNode;
25 25
 use Railt\SDL\Compiler\Ast\Value\ValueInterface;
26 26
 use Railt\SDL\Compiler\Ast\Value\ValueNode;
27
-use Railt\SDL\Exception\SemanticException;
28 27
 use Railt\SDL\Exception\TypeConflictException;
29 28
 
30 29
 /**
Please login to merge, or discard this patch.
src/Compiler/Builder/Common/ValueInvocation.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use Railt\Reflection\Contracts\Definition;
13 13
 use Railt\Reflection\Contracts\Definition\InputDefinition;
14 14
 use Railt\Reflection\Contracts\Invocation\InputInvocation;
15
-use Railt\Reflection\Contracts\Invocation\TypeInvocation;
16 15
 use Railt\SDL\Exception\SemanticException;
17 16
 use Railt\SDL\Exception\TypeConflictException;
18 17
 
Please login to merge, or discard this patch.
src/Compiler/Builder/Common/ValueTypeResolver.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @param mixed $value
101
-     * @return iterable|TypeDefinition[]
101
+     * @return \Generator
102 102
      * @throws \Railt\Reflection\Exception\TypeNotFoundException
103 103
      */
104 104
     public function resolveType($value): iterable
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
     /**
139 139
      * @param TypeDefinition $type
140 140
      * @param \Closure $filter
141
-     * @return \Generator|TypeDefinition[]
141
+     * @return \Generator
142 142
      */
143 143
     private function inheritedBy(TypeDefinition $type, \Closure $filter): \Traversable
144 144
     {
Please login to merge, or discard this patch.