Test Failed
Push — master ( 9fa0b4...c1a156 )
by Kirill
06:08 queued 03:03
created
src/Compiler/Ast/Dependent/ArgumentDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return null|ValueInterface|NodeInterface
46
+     * @return null|NodeInterface
47 47
      */
48 48
     public function getDefaultValue(): ?ValueInterface
49 49
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/EnumValueDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return null|ValueInterface|NodeInterface
44
+     * @return null|NodeInterface
45 45
      */
46 46
     public function getValue(): ?ValueInterface
47 47
     {
Please login to merge, or discard this patch.
src/Compiler/Ast/Value/InputValueNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     }
49 49
 
50 50
     /**
51
-     * @return iterable|ValueInterface[]
51
+     * @return \Generator
52 52
      */
53 53
     public function getValues(): iterable
54 54
     {
Please login to merge, or discard this patch.
src/Compiler/Builder/Common/ValueBuilder.php 1 patch
Doc Comments   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     private $type;
42 42
 
43 43
     /**
44
-     * @param TypeHint|Definition $type
44
+     * @param TypeHint $type
45 45
      */
46 46
     public function __construct(TypeHint $type)
47 47
     {
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
     }
80 80
 
81 81
     /**
82
-     * @param TypeHint|TypeDefinition $type
82
+     * @param TypeHint $type
83 83
      * @param ValueInterface|ListValueNode $value
84 84
      * @return \Traversable
85 85
      * @throws \Railt\Io\Exception\ExternalFileException
@@ -127,8 +127,8 @@  discard block
 block discarded – undo
127 127
     }
128 128
 
129 129
     /**
130
-     * @param TypeHint|TypeDefinition $type
131
-     * @param ValueInterface|RuleInterface $value
130
+     * @param TypeHint $type
131
+     * @param ValueInterface $value
132 132
      * @return mixed
133 133
      * @throws \Railt\Io\Exception\ExternalFileException
134 134
      */
@@ -152,8 +152,8 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @param TypeHint|TypeDefinition $type
156
-     * @param ValueInterface|RuleInterface|InputValueNode $value
155
+     * @param TypeHint $type
156
+     * @param ValueInterface $value
157 157
      * @return InputInvocation
158 158
      * @throws \Railt\Io\Exception\ExternalFileException
159 159
      */
@@ -197,8 +197,8 @@  discard block
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @param TypeHint|TypeDefinition|ConstantValueNode $type
201
-     * @param ValueInterface|RuleInterface $value
200
+     * @param TypeHint $type
201
+     * @param ValueInterface $value
202 202
      * @return mixed
203 203
      * @throws \Railt\Io\Exception\ExternalFileException
204 204
      */
@@ -231,8 +231,8 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     /**
234
-     * @param TypeHint|TypeDefinition $type
235
-     * @param ValueInterface|RuleInterface $value
234
+     * @param TypeHint $type
235
+     * @param ValueInterface $value
236 236
      * @return bool|float|int|mixed|null|string
237 237
      * @throws \Railt\Io\Exception\ExternalFileException
238 238
      * @throws \Railt\Reflection\Exception\TypeNotFoundException
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
     }
252 252
 
253 253
     /**
254
-     * @param TypeHint|TypeDefinition $type
254
+     * @param TypeHint $type
255 255
      * @param ValueInterface $value
256 256
      * @return mixed
257 257
      * @throws \Railt\Io\Exception\ExternalFileException
Please login to merge, or discard this patch.
src/Compiler/Ast/Dependent/InputFieldDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return null|ValueInterface|NodeInterface
46
+     * @return null|NodeInterface
47 47
      */
48 48
     public function getDefaultValue(): ?ValueInterface
49 49
     {
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.