eee
This commit is contained in:
+10
-5
@@ -46,11 +46,7 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
|
|||||||
/**
|
/**
|
||||||
* @var ModelInterface|string|null
|
* @var ModelInterface|string|null
|
||||||
*/
|
*/
|
||||||
protected ModelInterface|string|null $modelClass {
|
protected ModelInterface|string|null $modelClass;
|
||||||
get {
|
|
||||||
return $this->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
|
* @param array $where
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user