mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Fix PHPStan errors (#20523)
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user