diff --git a/Collection.php b/Collection.php index fb5c69c..c260ebe 100644 --- a/Collection.php +++ b/Collection.php @@ -171,7 +171,7 @@ class Collection extends AbstractCollection $array = []; /** @var Model $value */ foreach ($this as $value) { - $array[] = $value->setWith($this->query->with)->toArray(); + $array[] = $value->toArray(); } $this->_item = []; return $array;