Fixed return type for RedistList::get() #85
Annotations
11 errors
|
src/Connection/Authenticator.php#L27
src/Connection/Authenticator.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Connection/DatabaseSelector.php#L27
src/Connection/DatabaseSelector.php:27:13: RiskyTruthyFalsyComparison: Operand of type int|list<mixed>|null|string contains types int|list<mixed>|string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/Protocol/RespParser.php#L54
src/Protocol/RespParser.php:54:30: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
src/Protocol/RespParser.php#L66
src/Protocol/RespParser.php:66:50: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
src/Protocol/RespParser.php#L67
src/Protocol/RespParser.php:67:44: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
src/Protocol/RespParser.php#L111
src/Protocol/RespParser.php:111:38: InvalidIterator: Cannot iterate over Generator<int, int|string, string, Amp\Redis\Protocol\RedisResponse> (see https://psalm.dev/009)
|
src/RedisConfig.php#L132
src/RedisConfig.php:132:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/RedisConfig.php#L133
src/RedisConfig.php:133:13: RiskyTruthyFalsyComparison: Operand of type int|null contains type int, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/RedisSubscriber.php#L180
src/RedisSubscriber.php:180:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
src/RedisSubscriber.php#L209
src/RedisSubscriber.php:209:29: RiskyTruthyFalsyComparison: Operand of type array<int, Amp\Pipeline\Queue>|null contains type array<int, Amp\Pipeline\Queue>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
This job failed
Loading