This commit is contained in:
2021-11-11 03:00:50 +08:00
parent 8e9047de8a
commit 8b164c7611
+1 -1
View File
@@ -56,7 +56,7 @@ class CollectionIterator extends \ArrayIterator
*/ */
protected function newModel($current): ModelInterface protected function newModel($current): ModelInterface
{ {
return $this->model->setAttributes($current); return $this->model->attributes = $current;
} }