Completed
Push — master ( b2a65d...63a169 )
by Kirill
02:18
created
src/Frontend/Builder/Instruction/ImportBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * @param ContextInterface $ctx
39 39
      * @param RuleInterface $rule
40
-     * @return mixed|\Generator|void
40
+     * @return \Generator
41 41
      */
42 42
     public function reduce(ContextInterface $ctx, RuleInterface $rule)
43 43
     {
Please login to merge, or discard this patch.
src/IR/Type.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     }
94 94
 
95 95
     /**
96
-     * @param string|iterable|TypeNameInterface $name
96
+     * @param TypeNameInterface $name
97 97
      * @param TypeInterface|null $of
98 98
      * @return TypeInterface|static
99 99
      */
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
 
144 144
     /**
145 145
      * @param TypeInterface $type
146
-     * @return \Generator|TypeInterface[]
146
+     * @return \Generator
147 147
      */
148 148
     private function getInheritanceSequence(TypeInterface $type): \Generator
149 149
     {
Please login to merge, or discard this patch.
src/Frontend.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @param Readable $file
49
-     * @return iterable
49
+     * @return \Generator
50 50
      * @throws SyntaxException
51 51
      * @throws \Railt\Io\Exception\ExternalFileException
52 52
      */
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     /**
59 59
      * @param Readable $readable
60
-     * @return iterable
60
+     * @return \Generator
61 61
      * @throws SyntaxException
62 62
      * @throws \Railt\Io\Exception\ExternalFileException
63 63
      */
Please login to merge, or discard this patch.
src/Frontend/Builder/Common/TypeDefinitionBuilder.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     /**
39 39
      * @param ContextInterface $ctx
40 40
      * @param RuleInterface $rule
41
-     * @return \Generator|Definition
41
+     * @return \Generator
42 42
      * @throws InvalidArgumentException
43 43
      */
44 44
     public function reduce(ContextInterface $ctx, RuleInterface $rule): \Generator
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 
61 61
     /**
62 62
      * @param RuleInterface $argument
63
-     * @return \Generator|TypeNameInterface
63
+     * @return \Generator
64 64
      */
65 65
     private function getArgumentName(RuleInterface $argument): \Generator
66 66
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * @param RuleInterface $argument
73
-     * @return \Generator|TypeNameInterface
73
+     * @return \Generator
74 74
      */
75 75
     private function getArgumentValue(RuleInterface $argument): \Generator
76 76
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/SchemaDefinitionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * @param ContextInterface $ctx
39 39
      * @param RuleInterface $rule
40
-     * @return \Generator|mixed
40
+     * @return \Generator
41 41
      */
42 42
     public function reduce(ContextInterface $ctx, RuleInterface $rule)
43 43
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Instruction/VariableReassigmentBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * @param ContextInterface $ctx
33 33
      * @param RuleInterface $rule
34
-     * @return \Generator|\Closure
34
+     * @return \Generator
35 35
      */
36 36
     public function reduce(ContextInterface $ctx, RuleInterface $rule)
37 37
     {
Please login to merge, or discard this patch.
src/Frontend/Builder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 
244 244
     /**
245 245
      * @param Readable $readable
246
-     * @param iterable|RuleInterface[] $rules
246
+     * @param RuleInterface $rules
247 247
      * @return iterable|array[]
248 248
      * @throws \Railt\Io\Exception\ExternalFileException
249 249
      */
Please login to merge, or discard this patch.
src/Frontend/Builder/Definition/ObjectDefinitionBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     /**
38 38
      * @param ContextInterface $ctx
39 39
      * @param RuleInterface $rule
40
-     * @return mixed|\Generator|void
40
+     * @return \Generator
41 41
      */
42 42
     public function reduce(ContextInterface $ctx, RuleInterface $rule)
43 43
     {
Please login to merge, or discard this patch.
src/Frontend/Builder/Instruction/VariableBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * @param ContextInterface $ctx
42 42
      * @param RuleInterface $rule
43
-     * @return \Generator|\Closure
43
+     * @return \Generator
44 44
      */
45 45
     public function reduce(ContextInterface $ctx, RuleInterface $rule): \Generator
46 46
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param RuleInterface $rule
69
-     * @return iterable|string[]
69
+     * @return \Generator
70 70
      */
71 71
     private function getVariableNames(RuleInterface $rule): iterable
72 72
     {
Please login to merge, or discard this patch.