public function parse() { $nextCursor = (int) $this->body[0]; return array_merge(['finished' => 0 === $nextCursor, 'nextCursor' => $nextCursor], $this->parseBody((array) $this->body[1])); }