mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-30 01:56:35 +08:00
Fix #20513: Fix code examples in PHPDoc
This commit is contained in:
@ -45,7 +45,7 @@ class FragmentCache extends Widget implements DynamicContentAwareInterface
|
||||
* This can be either a [[Dependency]] object or a configuration array for creating the dependency object.
|
||||
* For example,
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* [
|
||||
* 'class' => 'yii\caching\DbDependency',
|
||||
* 'sql' => 'SELECT MAX(updated_at) FROM post',
|
||||
@ -62,7 +62,7 @@ class FragmentCache extends Widget implements DynamicContentAwareInterface
|
||||
* The following variation setting will cause the content to be cached in different versions
|
||||
* according to the current application language:
|
||||
*
|
||||
* ```php
|
||||
* ```
|
||||
* [
|
||||
* Yii::$app->language,
|
||||
* ]
|
||||
|
||||
Reference in New Issue
Block a user