Fix #20513: Fix code examples in PHPDoc

This commit is contained in:
Maksim Spirkov
2025-09-06 02:22:56 +05:00
committed by GitHub
parent a6a7f0128a
commit 53256fdd24
186 changed files with 579 additions and 520 deletions

View File

@ -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,
* ]