Skip to content

Refactor handlers

Refactor handlers #907

Triggered via pull request December 25, 2023 09:13
Status Failure
Total duration 29s
Artifacts

static.yml

on: pull_request
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

7 errors
MoreSpecificReturnType: src/Message/Message.php#L22
src/Message/Message.php:22:35: MoreSpecificReturnType: The declared return type 'class-string<Yiisoft\Yii\Queue\Message\MessageHandlerInterface>' for Yiisoft\Yii\Queue\Message\Message::getHandler is more specific than the inferred return type 'string' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Message/Message.php#L24
src/Message/Message.php:24:16: LessSpecificReturnStatement: The type 'string' is more general than the declared return type 'class-string<Yiisoft\Yii\Queue\Message\MessageHandlerInterface>' for Yiisoft\Yii\Queue\Message\Message::getHandler (see https://psalm.dev/129)
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.
psalm / PHP 8.2-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
psalm / PHP 8.2-ubuntu-latest
The operation was canceled.
psalm / PHP 8.1-ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
psalm / PHP 8.1-ubuntu-latest
The operation was canceled.