Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
use Yiisoft\Queue\Adapter\AdapterInterface;
use Yiisoft\Queue\AMQP\Exception\NotImplementedException;
use Yiisoft\Queue\Cli\LoopInterface;
use Yiisoft\Queue\JobStatus;
use Yiisoft\Queue\MessageStatus;
use Yiisoft\Queue\Message\MessageInterface;
use Yiisoft\Queue\Message\MessageSerializerInterface;

final class Adapter implements AdapterInterface

Check failure on line 17 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.4-ubuntu-latest

MethodSignatureMismatch

src/Adapter.php:17:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::status with return type 'Yiisoft\Queue\AMQP\JobStatus' is different to return type 'Yiisoft\Queue\MessageStatus' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)

Check failure on line 17 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.3-ubuntu-latest

MethodSignatureMismatch

src/Adapter.php:17:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::status with return type 'Yiisoft\Queue\AMQP\JobStatus' is different to return type 'Yiisoft\Queue\MessageStatus' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)

Check failure on line 17 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.2-ubuntu-latest

MethodSignatureMismatch

src/Adapter.php:17:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::status with return type 'Yiisoft\Queue\AMQP\JobStatus' is different to return type 'Yiisoft\Queue\MessageStatus' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)

Check failure on line 17 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.1-ubuntu-latest

MethodSignatureMismatch

src/Adapter.php:17:13: MethodSignatureMismatch: Method Yiisoft\Queue\AMQP\Adapter::status with return type 'Yiisoft\Queue\AMQP\JobStatus' is different to return type 'Yiisoft\Queue\MessageStatus' of inherited method Yiisoft\Queue\Adapter\AdapterInterface::status (see https://psalm.dev/042)
{
private ?AMQPMessage $amqpMessage = null;

Expand Down Expand Up @@ -47,7 +47,7 @@
/**
* @return never
*/
public function status(int|string $id): JobStatus

Check failure on line 50 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.4-ubuntu-latest

UndefinedClass

src/Adapter.php:50:45: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\JobStatus does not exist (see https://psalm.dev/019)

Check failure on line 50 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.3-ubuntu-latest

UndefinedClass

src/Adapter.php:50:45: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\JobStatus does not exist (see https://psalm.dev/019)

Check failure on line 50 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.2-ubuntu-latest

UndefinedClass

src/Adapter.php:50:45: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\JobStatus does not exist (see https://psalm.dev/019)

Check failure on line 50 in src/Adapter.php

View workflow job for this annotation

GitHub Actions / psalm / PHP 8.1-ubuntu-latest

UndefinedClass

src/Adapter.php:50:45: UndefinedClass: Class, interface or enum named Yiisoft\Queue\AMQP\JobStatus does not exist (see https://psalm.dev/019)
{
throw new NotImplementedException('Status check is not supported by the adapter ' . self::class . '.');
}
Expand Down
Loading