Schedule API return empty object

The solution in Postman was to provide displayGroupIds[] with a lowercase ‘D’ instead of how the ‘DisplayGroupIds[]’ was specified in Swagger UI documentation. See posted answer get-scheduled-events-api-seems-to-be-broken-1-8-0-alpha2.

I am still stuck with with the oauth2-xibo-cms schedule/data/events API call failing in the class XiboSchedule.php. It fails with following error on statement $this->hydrate($item) statement.

TypeError Exception: Argument 1 passed to Xibo\OAuth2\Client\Entity\XiboEntity::hydrate() must be of the type array, integer given, called in /var/www/cms/vendor/xibosignage/oauth2-xibo-cms/src/Entity/XiboSchedule.php on line 45

/**
 * @param array $params
 * @return array|XiboSchedule
 */
public function get(array $params = [])
{
    $entries = [];
    $response = $this->doGet($this->url2, $params);

    foreach ($response as $item) {
        $entries[] = clone $this->hydrate($item);  //<<<<< **TypeError thrown here**
    }

    return $entries;
}