mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 14:26:54 +08:00
Updated PHPDocs [skip ci]
This commit is contained in:
@ -399,7 +399,7 @@ class View extends Component implements DynamicContentAwareInterface
|
|||||||
if ($cache instanceof DynamicContentAwareInterface) {
|
if ($cache instanceof DynamicContentAwareInterface) {
|
||||||
$cache->addDynamicPlaceholder($placeholder, $statements);
|
$cache->addDynamicPlaceholder($placeholder, $statements);
|
||||||
} else {
|
} else {
|
||||||
// To be removed in 2.1
|
// TODO: Remove in 2.1
|
||||||
$cache->dynamicPlaceholders[$placeholder] = $statements;
|
$cache->dynamicPlaceholders[$placeholder] = $statements;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user