Test Failed
Push — master ( e081e8...a6938b )
by Kirill
02:31
created
src/Frontend/AST/Dependent/ArgumentDefinitionNode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param Context $context
47
-     * @return iterable|OpcodeInterface[]
47
+     * @return \Generator
48 48
      */
49 49
     public function getOpcodes(Context $context): iterable
50 50
     {
Please login to merge, or discard this patch.
src/Frontend/Frontend.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
      *
119 119
      * @param NodeInterface|RuleInterface $node
120 120
      * @param Context $context
121
-     * @return iterable|OpcodeInterface[]|\Generator
121
+     * @return \Generator
122 122
      */
123 123
     private function bypass(NodeInterface $node, Context $context): \Generator
124 124
     {
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      *
166 166
      * @param RuleInterface $key
167 167
      * @param \Generator $iterator
168
-     * @return \Generator|OpcodeInterface[]
168
+     * @return \Generator
169 169
      */
170 170
     private function extract(RuleInterface $key, \Generator $iterator): \Generator
171 171
     {
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 if (! \function_exists('\\iterator_each')) {
75 75
     /**
76
-     * @param iterable $iterator
76
+     * @param Generator $iterator
77 77
      * @param Closure $each
78 78
      * @return Generator
79 79
      */
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
 if (! \function_exists('\\iterator_reverse_each')) {
94 94
     /**
95
-     * @param iterable $iterator
95
+     * @param Generator $iterator
96 96
      * @param Closure $each
97 97
      * @return Generator
98 98
      */
Please login to merge, or discard this patch.