Fix PHPDoc of Config\Cache::$validHandlers

This commit is contained in:
John Paul E. Balandan, CPA 2023-07-20 15:21:01 +08:00
parent 8024ff9373
commit 9810c1fe9e
No known key found for this signature in database
GPG Key ID: FB7B51499BC27610

View File

@ -2,6 +2,7 @@
namespace Config;
use CodeIgniter\Cache\CacheInterface;
use CodeIgniter\Cache\Handlers\DummyHandler;
use CodeIgniter\Cache\Handlers\FileHandler;
use CodeIgniter\Cache\Handlers\MemcachedHandler;
@ -158,6 +159,7 @@ class Cache extends BaseConfig
* that are listed here are allowed to be used.
*
* @var array<string, string>
* @phpstan-var array<string, class-string<CacheInterface>>
*/
public array $validHandlers = [
'dummy' => DummyHandler::class,