Skip to content

Commit 63b959b

Browse files
committed
compatibility with old config
1 parent 33c0936 commit 63b959b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Connectors/AmqpConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function connect(array $config)
4848
}
4949

5050
return new AMQPQueue(
51-
$connection, $config['queue'], $config['queue_flags'], $config['declare_queues'],
51+
$connection, $config['queue'], $config['queue_flags'], isset($config['declare_queues']) ? $config['declare_queues'] : true,
5252
$config['message_properties'], $config['channel_id'],
5353
$config['exchange_name'], $config['exchange_type'], $config['exchange_flags']
5454
);

0 commit comments

Comments
 (0)