Skip to content

Commit d76a6a6

Browse files
committed
refactor: phpdocs on cache
1 parent edbca16 commit d76a6a6

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

app/Config/Cache.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,15 @@ class Cache extends BaseConfig
112112
* Your Redis server can be specified below, if you are using
113113
* the Redis or Predis drivers.
114114
*
115-
* @var array{host?: string, password?: string|null, port?: int, timeout?: int, async?: bool, persistent?: bool, database?: int}
115+
* @var array{
116+
* host?: string,
117+
* password?: string|null,
118+
* port?: int,
119+
* timeout?: int,
120+
* async?: bool,
121+
* persistent?: bool,
122+
* database?: int
123+
* }
116124
*/
117125
public array $redis = [
118126
'host' => '127.0.0.1',

user_guide_src/source/libraries/caching/014.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ class Cache extends BaseConfig
99
// ...
1010

1111
public $redis = [
12-
'scheme' => 'tcp',
1312
'host' => '127.0.0.1',
1413
'password' => null,
1514
'port' => 6379,

0 commit comments

Comments
 (0)