Completed
Push — master ( 4fd125...05840b )
by Richard
05:36
created
src/Graph/QueryImpl.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     }
98 98
 
99 99
     /**
100
-     * @return  Iterator <[Node,mixed]>
100
+     * @return  \Generator <[Node,mixed]>
101 101
      */
102 102
     protected function switch_run_command(\Iterator $nodes, $step) {
103 103
         list($cmd,$par) = $step;
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
     }
117 117
 
118 118
     /**
119
-     * @return  Iterator <[Node,mixed]>
119
+     * @return  \Generator <[Node,mixed]>
120 120
      */
121 121
     protected function run_expand(\Iterator $nodes, \Closure $clsr) {
122 122
         while ($nodes->valid()) {
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
     }
131 131
 
132 132
     /**
133
-     * @return  Iterator <[Node,mixed]>
133
+     * @return  \Generator <[Node,mixed]>
134 134
      */
135 135
     protected function run_extract(\Iterator $nodes, \Closure $clsr) {
136 136
         while ($nodes->valid()) {
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     }
146 146
 
147 147
     /**
148
-     * @return  Iterator <[Node,mixed]>
148
+     * @return  \Generator <[Node,mixed]>
149 149
      */
150 150
     protected function run_filter(\Iterator $nodes, Predicate $predicate) {
151 151
         $clsr = $predicate->compile();
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     }
161 161
 
162 162
     /**
163
-     * @return  Iterator <[Node,mixed]>
163
+     * @return  \Generator <[Node,mixed]>
164 164
      */
165 165
     protected function add_result(\Iterator $nodes, &$result) {
166 166
         while ($nodes->valid()) {
Please login to merge, or discard this patch.