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

@ -24,7 +24,7 @@ use yii\di\Instance;
*
* The following example shows how you can configure the application to use DbCache:
*
* ```php
* ```
* 'cache' => [
* 'class' => 'yii\caching\DbCache',
* // 'db' => 'mydb',
@ -50,7 +50,7 @@ class DbCache extends Cache
* @var string name of the DB table to store cache content.
* The table should be pre-created as follows:
*
* ```php
* ```
* CREATE TABLE cache (
* id char(128) NOT NULL PRIMARY KEY,
* expire int(11),
@ -59,7 +59,7 @@ class DbCache extends Cache
* ```
*
* For MSSQL:
* ```php
* ```
* CREATE TABLE cache (
* id VARCHAR(128) NOT NULL PRIMARY KEY,
* expire INT(11),