Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run queue worker, the class "Adapter" does not compatible its interface "AdapterInterface" #109

Open
DikoIbragimov opened this issue Dec 4, 2024 · 0 comments
Labels
status:ready for adoption Feel free to implement this issue. type:bug Bug

Comments

@DikoIbragimov
Copy link

What steps will reproduce the problem?

php yii queue:run

What is the expected result?

Handle jobs

What do you get instead?

Fatal error: Declaration of Yiisoft\Queue\AMQP\Adapter::status(string $id): Yiisoft\Queue\Enum\JobStatus must be compatible with Yiisoft\Queue\Adapter\AdapterInterface::status(string|int $id): Yiisoft\Queue\Enum\JobStatus in P:\php\auth.agroid.api\vendor\yiisoft\queue-amqp\src\Adapter.php on line 47

Additional info

Q A
Version 1.0.?
PHP version 8.3
Operating system Windows
RabbitMQ version dev-master
@samdark samdark added type:bug Bug status:ready for adoption Feel free to implement this issue. labels Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue. type:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants