Refactor handlers #926
Annotations
5 errors
|
Static analysis.:
src/Message/EnvelopeTrait.php#L24
src/Message/EnvelopeTrait.php:24:35: LessSpecificImplementedReturnType: The inherited return type 'class-string<Yiisoft\Queue\Message\MessageHandlerInterface>' for Yiisoft\Queue\Message\MessageInterface::getHandler is more specific than the implemented return type for Yiisoft\Queue\Message\EnvelopeTrait::gethandler 'string' (see https://psalm.dev/166)
|
Static analysis.:
src/Message/Message.php#L21
src/Message/Message.php:21:35: MoreSpecificReturnType: The declared return type 'class-string<Yiisoft\Queue\Message\MessageHandlerInterface>' for Yiisoft\Queue\Message\Message::getHandler is more specific than the inferred return type 'string' (see https://psalm.dev/070)
|
Static analysis.:
src/Message/Message.php#L23
src/Message/Message.php:23:16: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'class-string<Yiisoft\Queue\Message\MessageHandlerInterface>' for Yiisoft\Queue\Message\Message::getHandler (see https://psalm.dev/129)
|
Static analysis.
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading