| @@ 123-127 (lines=5) @@ | ||
| 120 | $walker = $this->walkQuery($field, $current, $visitor); |
|
| 121 | $next = $walker->current(); |
|
| 122 | ||
| 123 | while ($walker->valid()) { |
|
| 124 | $received = (yield $next); |
|
| 125 | $carry = $visitor->reduce($carry, $received, $this->context); |
|
| 126 | $next = $walker->send($received); |
|
| 127 | } |
|
| 128 | } |
|
| 129 | else { |
|
| 130 | $type = $this->getType($node, $current); |
|
| @@ 145-149 (lines=5) @@ | ||
| 142 | $walker = $this->walkQuery($field, $ast, $visitor); |
|
| 143 | $next = $walker->current(); |
|
| 144 | ||
| 145 | while ($walker->valid()) { |
|
| 146 | $received = (yield $next); |
|
| 147 | $carry = $visitor->reduce($carry, $received, $this->context); |
|
| 148 | $next = $walker->send($received); |
|
| 149 | } |
|
| 150 | } |
|
| 151 | } |
|
| 152 | } |
|