[Cache] ignore metadata in values returned by the PSR16 cache #33665
Annotations
5 errors
InvalidReturnStatement:
src/Symfony/Component/Cache/Psr16Cache.php#L155
src/Symfony/Component/Cache/Psr16Cache.php:155:20: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<string, mixed>' for Symfony\Component\Cache\Psr16Cache::getMultiple (see https://psalm.dev/128)
|
InvalidReturnStatement:
src/Symfony/Component/Cache/Psr16Cache.php#L162
src/Symfony/Component/Cache/Psr16Cache.php:162:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<string, mixed>' for Symfony\Component\Cache\Psr16Cache::getMultiple (see https://psalm.dev/128)
|
InvalidReturnStatement:
src/Symfony/Component/Cache/Psr16Cache.php#L155
src/Symfony/Component/Cache/Psr16Cache.php:155:20: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<string, mixed>' for Symfony\Component\Cache\Psr16Cache::getMultiple (see https://psalm.dev/128)
|
InvalidReturnStatement:
src/Symfony/Component/Cache/Psr16Cache.php#L162
src/Symfony/Component/Cache/Psr16Cache.php:162:16: InvalidReturnStatement: The inferred type 'array<array-key, mixed>' does not match the declared return type 'iterable<string, mixed>' for Symfony\Component\Cache\Psr16Cache::getMultiple (see https://psalm.dev/128)
|
Psalm
Process completed with exit code 2.
|