5f7baa5a42
| Q | A | ------------- | --- | Branch? | 3.1 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Fixes missing type hint for cache item on pool getters so methods on Symfony CacheItem is correclty suggested when using IDE's or api documentation. As proposed here: https://github.com/symfony/symfony/issues/19728#issuecomment-269615921 Note: Specifically sets array of items as return type of getItems as phpdoc and IDEs supports this by now, and since this is specifically what is being returned. |
||
---|---|---|
.. | ||
Bridge | ||
Bundle | ||
Component |