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