Allow integerish keys in methods handling multiple keys at once #621
Annotations
10 errors
src/Psr/CacheItemPool/CacheItemPoolDecorator.php#L132
src/Psr/CacheItemPool/CacheItemPoolDecorator.php:132:46: InvalidScalarArgument: Argument 1 of Laminas\Cache\Psr\CacheItemPool\CacheItem::__construct expects string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Psr/SimpleCache/SimpleCacheDecorator.php#L250
src/Psr/SimpleCache/SimpleCacheDecorator.php:250:43: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\StorageInterface::hasItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Psr/SimpleCache/SimpleCacheDecorator.php#L279
src/Psr/SimpleCache/SimpleCacheDecorator.php:279:43: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\StorageInterface::hasItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Storage/AbstractMetadataCapableAdapter.php#L34
src/Storage/AbstractMetadataCapableAdapter.php:34:16: TypeDoesNotContainType: Type string for $key is never int (see https://psalm.dev/056)
|
src/Storage/AbstractMetadataCapableAdapter.php#L42
src/Storage/AbstractMetadataCapableAdapter.php:42:20: DocblockTypeContradiction: Docblock-defined type non-empty-string for $key is never int (see https://psalm.dev/155)
|
src/Storage/Adapter/AbstractAdapter.php#L316
src/Storage/Adapter/AbstractAdapter.php:316:16: TypeDoesNotContainType: Type string for $key is never int (see https://psalm.dev/056)
|
src/Storage/Adapter/AbstractAdapter.php#L341
src/Storage/Adapter/AbstractAdapter.php:341:52: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Storage/Adapter/AbstractAdapter.php#L345
src/Storage/Adapter/AbstractAdapter.php:345:50: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Storage/Adapter/AbstractAdapter.php#L347
src/Storage/Adapter/AbstractAdapter.php:347:50: InvalidScalarArgument: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::internalGetItem expects non-empty-string, but int|non-empty-string provided (see https://psalm.dev/012)
|
src/Storage/Adapter/AbstractAdapter.php#L385
src/Storage/Adapter/AbstractAdapter.php:385:36: MoreSpecificImplementedParamType: Argument 1 of Laminas\Cache\Storage\Adapter\AbstractAdapter::getItems has the more specific type 'non-empty-list<non-empty-string>', expecting 'non-empty-list<int|non-empty-string>' as defined by Laminas\Cache\Storage\StorageInterface::getItems (see https://psalm.dev/140)
|
This job failed
Loading