This commit is contained in:
2025-12-31 00:52:06 +08:00
parent 456c7f29b6
commit cbbc6ea7f1
+10 -5
View File
@@ -46,11 +46,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
/**
* @var ModelInterface|string|null
*/
protected ModelInterface|string|null $modelClass {
get {
return $this->modelClass;
}
}
protected ModelInterface|string|null $modelClass;
/**
@@ -67,6 +63,15 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
}
/**
* @return mixed
*/
public function getModelClass(): mixed
{
return $this->modelClass;
}
/**
* @param array $where
*