Conditions | 3 |
Paths | 4 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function endObject(): void |
||
44 | { |
||
45 | $this->endCommon(); |
||
46 | |||
47 | $this->objectLevel--; |
||
48 | if ($this->objectLevel === 0) { |
||
49 | $obj = array_pop($this->stack); |
||
50 | |||
51 | $this->chunk[] = reset($obj); |
||
52 | } |
||
53 | |||
54 | if (count($this->chunk) === $this->size) { |
||
55 | $this->processChunk(); |
||
56 | } |
||
57 | } |
||
58 | |||
77 |