| Conditions | 4 |
| Paths | 3 |
| Total Lines | 13 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | public function offsetExists($offset) |
||
| 39 | { |
||
| 40 | $exists = parent::offsetExists($offset); |
||
| 41 | while (!$exists && !$this->allParsed) { |
||
| 42 | $child = $this->parserProxy->popNextChild(); |
||
| 43 | if ($child === null) { |
||
| 44 | $this->allParsed = true; |
||
| 45 | } else { |
||
| 46 | $this->add($child); |
||
| 47 | } |
||
| 48 | $exists = parent::offsetExists($offset); |
||
| 49 | } |
||
| 50 | return $exists; |
||
| 51 | } |
||
| 53 |