改名
This commit is contained in:
@@ -119,7 +119,7 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
|
||||
if (is_object($model)) {
|
||||
return $model;
|
||||
}
|
||||
return new $model();
|
||||
return $model::populate([]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
+914
-932
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user