变更
This commit is contained in:
+1
-1
@@ -247,7 +247,7 @@ class ActiveQuery extends Component implements ISqlBuilder
|
|||||||
*/
|
*/
|
||||||
public function populate($data): ModelInterface|array
|
public function populate($data): ModelInterface|array
|
||||||
{
|
{
|
||||||
$model = $this->modelClass::populate($data);
|
$model = $this->modelClass->populates($data);
|
||||||
if ($this->asArray) {
|
if ($this->asArray) {
|
||||||
return $model->toArray();
|
return $model->toArray();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user