diff --git a/Collection.php b/Collection.php index 09becba..fb5c69c 100644 --- a/Collection.php +++ b/Collection.php @@ -171,9 +171,6 @@ class Collection extends AbstractCollection $array = []; /** @var Model $value */ foreach ($this as $value) { - if (!is_object($value)) { - continue; - } $array[] = $value->setWith($this->query->with)->toArray(); } $this->_item = [];