Skip to content

Commit 9db4a14

Browse files
committed
Fix type error
Type error: Argument 2 passed to Enqueue\Consumption\QueueConsumer::Enqueue jmc_4 | \Consumption\{closure}() must be an instance of Enqueue\AmqpExt\AmqpConsume jmc_4 | r, instance of Enqueue\AmqpBunny\AmqpConsumer given
1 parent 4e3e01a commit 9db4a14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pkg/enqueue/Consumption/QueueConsumer.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
namespace Enqueue\Consumption;
44

5-
use Enqueue\AmqpExt\AmqpConsumer;
65
use Enqueue\Consumption\Exception\ConsumptionInterruptedException;
76
use Enqueue\Consumption\Exception\InvalidArgumentException;
87
use Enqueue\Consumption\Exception\LogicException;
98
use Enqueue\Util\VarExport;
9+
use Interop\Amqp\AmqpConsumer;
1010
use Interop\Amqp\AmqpContext;
1111
use Interop\Amqp\AmqpMessage;
1212
use Interop\Queue\PsrConsumer;

0 commit comments

Comments
 (0)