src/AbstractApi.php
protected function hydrateMany($data)
    {
        if (empty($this->model) || empty($this->hydrator)) {
            return (object) $data;
        }

        $items = [];

        foreach ($data as $item) {
            $items[] = $this->hydrateOne($item);
        }

        return $items;
    }
protected function hydrateMany($data)
    {
        if (empty($this->model) || empty($this->hydrator)) {
            return (object) $data;
        }

        $items = [];

        foreach ($data as $item) {
            $items[] = $this->hydrateOne($item);
        }

        return $items;
    }
@param $data

@return array|object