Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing PHPDoc annotation for Doctrine Cache implementations
This fixes the following deprecations produced by Symfony: * User Deprecated: Method "Doctrine\Common\Cache\Cache::fetch()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "Aws\DoctrineCacheAdapter" now to avoid errors or add an explicit @return annotation to suppress this message. * User Deprecated: Method "Doctrine\Common\Cache\Cache::save()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Aws\DoctrineCacheAdapter" now to avoid errors or add an explicit @return annotation to suppress this message. * User Deprecated: Method "Doctrine\Common\Cache\Cache::delete()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Aws\DoctrineCacheAdapter" now to avoid errors or add an explicit @return annotation to suppress this message. * User Deprecated: Method "Doctrine\Common\Cache\Cache::contains()" might add "bool" as a native return type declaration in the future. Do the same in implementation "Aws\DoctrineCacheAdapter" now to avoid errors or add an explicit @return annotation to suppress this message. * User Deprecated: Method "Doctrine\Common\Cache\Cache::getStats()" might add "?array" as a native return type declaration in the future. Do the same in implementation "Aws\DoctrineCacheAdapter" now to avoid errors or add an explicit @return annotation to suppress this message.
- Loading branch information