This commit is contained in:
2021-03-25 19:56:08 +08:00
parent b8448d2612
commit 56c9c6254b
+2 -2
View File
@@ -160,10 +160,10 @@ use {$model_namespace}\\{$managerName};
{
return '
/**
* @return array
* @return string
* @throws Exception
*/
public function actionAdd()
public function actionAdd(): string
{
$model = new ' . $className . '();
$model->attributes = $this->loadParam();