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