Fix #20570: Fix @var annotation for UrlManager::$cache

This commit is contained in:
Maksim Spirkov
2025-10-02 11:26:35 +04:00
committed by GitHub
parent 1b2796ffb5
commit 1082caac5a
2 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,7 @@ class UrlManager extends Component
*/
public $routeParam = 'r';
/**
* @var CacheInterface|array|string|bool the cache object or the application component ID of the cache object.
* @var CacheInterface|array|string|bool|null the cache object or the application component ID of the cache object.
* This can also be an array that is used to create a [[CacheInterface]] instance in case you do not want to use
* an application component.
* Compiled URL rules will be cached through this cache object, if it is available.