Change root name #26
Annotations
11 errors
|
Static analysis.:
src/Adapter.php#L37
src/Adapter.php:37:54: InvalidNullableReturnType: The declared return type 'Yiisoft\Queue\Message\MessageInterface' for G41797\Queue\Nats\Adapter::push is not nullable, but 'Yiisoft\Queue\Message\IdEnvelope|null' contains null (see https://psalm.dev/144)
|
Static analysis.:
src/Adapter.php#L39
src/Adapter.php:39:16: NullableReturnStatement: The declared return type 'Yiisoft\Queue\Message\MessageInterface' for G41797\Queue\Nats\Adapter::push is not nullable, but the function returns 'Yiisoft\Queue\Message\IdEnvelope|null' (see https://psalm.dev/139)
|
Static analysis.:
src/Adapter.php#L39
src/Adapter.php:39:31: PossiblyNullReference: Cannot call method push on possibly null value (see https://psalm.dev/083)
|
Static analysis.:
src/Adapter.php#L45
src/Adapter.php:45:37: PossiblyNullReference: Cannot call method jobStatus on possibly null value (see https://psalm.dev/083)
|
Static analysis.:
src/Adapter.php#L68
src/Adapter.php:68:29: PossiblyNullReference: Cannot call method canContinue on possibly null value (see https://psalm.dev/083)
|
Static analysis.:
src/Adapter.php#L69
src/Adapter.php:69:35: PossiblyNullReference: Cannot call method pull on possibly null value (see https://psalm.dev/083)
|
Static analysis.:
src/Adapter.php#L77
src/Adapter.php:77:13: MixedAssignment: Unable to determine the type that $result is being assigned to (see https://psalm.dev/032)
|
Static analysis.:
src/Adapter.php#L78
src/Adapter.php:78:33: PossiblyInvalidArgument: Argument 1 of G41797\Queue\Nats\BrokerInterface::done expects string, but possibly different type int|null|string provided (see https://psalm.dev/092)
|
Static analysis.:
src/Broker.php#L98
src/Broker.php:98:26: PossiblyNullReference: Cannot call method put on possibly null value (see https://psalm.dev/083)
|
Static analysis.:
src/Broker.php#L98
src/Broker.php:98:37: MixedArgument: Argument 2 of Basis\Nats\KeyValue\Bucket::put cannot be mixed, expecting string (see https://psalm.dev/030)
|
The logs for this run have expired and are no longer available.
Loading