Fix PHPStan errors (#20523)

This commit is contained in:
Maksim Spirkov
2025-09-16 00:38:06 +04:00
committed by GitHub
parent 04202f04f5
commit 53bdfc3b2c
6 changed files with 14 additions and 3 deletions

View File

@ -52,7 +52,10 @@ class Controller extends \yii\base\Controller
*/
public function renderAjax($view, $params = [])
{
return $this->getView()->renderAjax($view, $params, $this);
/** @var View */
$viewComponent = $this->getView();
return $viewComponent->renderAjax($view, $params, $this);
}
/**