Skip to content

Commit 047800f

Browse files
authored
Merge pull request #7720 from paulbalandan/config-cache-phpdoc
Fix PHPDoc of `Config\Cache::$validHandlers`
2 parents f1f4a53 + 9810c1f commit 047800f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Config/Cache.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Config;
44

5+
use CodeIgniter\Cache\CacheInterface;
56
use CodeIgniter\Cache\Handlers\DummyHandler;
67
use CodeIgniter\Cache\Handlers\FileHandler;
78
use CodeIgniter\Cache\Handlers\MemcachedHandler;
@@ -158,6 +159,7 @@ class Cache extends BaseConfig
158159
* that are listed here are allowed to be used.
159160
*
160161
* @var array<string, string>
162+
* @phpstan-var array<string, class-string<CacheInterface>>
161163
*/
162164
public array $validHandlers = [
163165
'dummy' => DummyHandler::class,

0 commit comments

Comments
 (0)