chore: Мелкие правки
This commit is contained in:
parent
3e0b99c3d2
commit
6fdc3eb46b
2 changed files with 7 additions and 2 deletions
|
|
@ -206,8 +206,10 @@ class Component
|
|||
|
||||
/**
|
||||
* Создает модель
|
||||
* @param class-string $modelName
|
||||
* @return mixed
|
||||
*
|
||||
* @template T
|
||||
* @param class-string<T> $modelName
|
||||
* @return T
|
||||
*/
|
||||
public function getModel($modelName)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue