mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fixes #3793: Changed inline autocomplete hints style to get more IDEs support
This commit is contained in:
@ -240,7 +240,7 @@ class View extends Component
|
||||
if (is_array($this->renderers[$ext]) || is_string($this->renderers[$ext])) {
|
||||
$this->renderers[$ext] = Yii::createObject($this->renderers[$ext]);
|
||||
}
|
||||
/** @var ViewRenderer $renderer */
|
||||
/* @var $renderer ViewRenderer */
|
||||
$renderer = $this->renderers[$ext];
|
||||
$output = $renderer->render($this, $viewFile, $params);
|
||||
} else {
|
||||
@ -446,7 +446,7 @@ class View extends Component
|
||||
{
|
||||
$properties['id'] = $id;
|
||||
$properties['view'] = $this;
|
||||
/** @var FragmentCache $cache */
|
||||
/* @var $cache FragmentCache */
|
||||
$cache = FragmentCache::begin($properties);
|
||||
if ($cache->getCachedContent() !== false) {
|
||||
$this->endCache();
|
||||
|
Reference in New Issue
Block a user