Skip to content

Fixed phpstan errors #33

Fixed phpstan errors

Fixed phpstan errors #33

Triggered via push November 22, 2023 10:38
Status Failure
Total duration 26s
Artifacts

phpstan-8.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Extractor.php#L12
Class Kiboko\Component\Flow\RabbitMQ\Extractor implements generic interface Kiboko\Contract\Pipeline\ExtractorInterface but does not specify its types: OutputType
phpstan: src/Extractor.php#L20
Property Kiboko\Component\Flow\RabbitMQ\Extractor::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
phpstan: src/Extractor.php#L22
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
phpstan: src/Extractor.php#L76
Parameter #1 $message of method Bunny\Channel::ack() expects Bunny\Message, Bunny\Message|React\Promise\PromiseInterface given.
phpstan: src/Extractor.php#L78
Access to an undefined property Bunny\Message|React\Promise\PromiseInterface::$content.
phpstan: src/Loader.php#L13
Class Kiboko\Component\Flow\RabbitMQ\Loader implements generic interface Kiboko\Contract\Pipeline\LoaderInterface but does not specify its types: InputType, OutputType
phpstan: src/Loader.php#L22
Property Kiboko\Component\Flow\RabbitMQ\Loader::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.
phpstan: src/Loader.php#L24
Call to an undefined method Bunny\Channel|React\Promise\PromiseInterface::queueDeclare().
phpstan: src/Loader.php#L83
Parameter $exchange of method Bunny\Channel::publish() expects string, string|null given.
phpstan: src/Rejection.php#L22
Property Kiboko\Component\Flow\RabbitMQ\Rejection::$channel (Bunny\Channel) does not accept Bunny\Channel|React\Promise\PromiseInterface.