| @@ 387-394 (lines=8) @@ | ||
| 384 | * |
|
| 385 | * @return mixed |
|
| 386 | */ |
|
| 387 | private function pop() |
|
| 388 | { |
|
| 389 | $this->stackSize--; |
|
| 390 | array_pop($this->stackTypes); |
|
| 391 | $this->currentToken = null; |
|
| 392 | ||
| 393 | return array_pop($this->stack); |
|
| 394 | } |
|
| 395 | ||
| 396 | /** |
|
| 397 | * Check that the next token equals the expectation |
|
| @@ 391-398 (lines=8) @@ | ||
| 388 | * |
|
| 389 | * @return JsonElement|Iterator |
|
| 390 | */ |
|
| 391 | private function pop() |
|
| 392 | { |
|
| 393 | $this->stackSize--; |
|
| 394 | array_pop($this->stackTypes); |
|
| 395 | $this->currentToken = null; |
|
| 396 | ||
| 397 | return array_pop($this->stack); |
|
| 398 | } |
|
| 399 | ||
| 400 | /** |
|
| 401 | * Check that the next token equals the expectation |
|