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