This commit is contained in:
2021-11-11 03:45:09 +08:00
parent 70f3714b15
commit 3e75bdc089
3 changed files with 15 additions and 5 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class CollectionIterator extends \ArrayIterator
*/
protected function newModel($current): ModelInterface
{
return $this->model::populate($current);
return $this->model->populates($current);
}