变更
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ class Collection extends AbstractCollection
|
|||||||
$array = [];
|
$array = [];
|
||||||
/** @var Model $value */
|
/** @var Model $value */
|
||||||
foreach ($this as $value) {
|
foreach ($this as $value) {
|
||||||
$array[] = $value->setWith($this->query->with)->toArray();
|
$array[] = $value->toArray();
|
||||||
}
|
}
|
||||||
$this->_item = [];
|
$this->_item = [];
|
||||||
return $array;
|
return $array;
|
||||||
|
|||||||
Reference in New Issue
Block a user