@@ -10,7 +10,7 @@ |
||
10 | 10 | /** |
11 | 11 | * @param \DataProvider\RabbitMqQueueDataProvider $queueDataProvider |
12 | 12 | */ |
13 | - public function declare(RabbitMqQueueDataProvider $queueDataProvider); |
|
13 | + public function declare(RabbitMqQueueDataProvider$queueDataProvider); |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * @param \DataProvider\RabbitMqQueueBindDataProvider $bindDataProvider |
@@ -15,5 +15,5 @@ |
||
15 | 15 | * @param bool $internal |
16 | 16 | * @param bool $nowait |
17 | 17 | */ |
18 | - public function declare(RabbitMqExchangeDataProvider $exchangeDataProvider); |
|
18 | + public function declare(RabbitMqExchangeDataProvider$exchangeDataProvider); |
|
19 | 19 | } |
20 | 20 | \ No newline at end of file |
@@ -37,7 +37,7 @@ |
||
37 | 37 | * @param bool $internal |
38 | 38 | * @param bool $nowait |
39 | 39 | */ |
40 | - public function declare(RabbitMqExchangeDataProvider $exchangeDataProvider) |
|
40 | + public function declare(RabbitMqExchangeDataProvider$exchangeDataProvider) |
|
41 | 41 | { |
42 | 42 | $this->channel->exchange_declare( |
43 | 43 | $exchangeDataProvider->getName(), |
@@ -28,7 +28,7 @@ |
||
28 | 28 | /** |
29 | 29 | * @param \DataProvider\RabbitMqQueueDataProvider $queueDataProvider |
30 | 30 | */ |
31 | - public function declare(RabbitMqQueueDataProvider $queueDataProvider) |
|
31 | + public function declare(RabbitMqQueueDataProvider$queueDataProvider) |
|
32 | 32 | { |
33 | 33 | $this->channel->queue_declare( |
34 | 34 | $queueDataProvider->getName(), |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | private function createExchangeCollection(DependencyProviderInterface $container): void |
56 | 56 | { |
57 | - $container[self::RABBITMQ_EXCHANGES] = function (DependencyProviderInterface $container) { |
|
57 | + $container[self::RABBITMQ_EXCHANGES] = function(DependencyProviderInterface $container) { |
|
58 | 58 | return new ExchangeCollection( |
59 | 59 | $this->getExchanges() |
60 | 60 | ); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | private function createQueueCollection(DependencyProviderInterface $container): void |
68 | 68 | { |
69 | - $container[self::RABBITMQ_QUEUES] = function (DependencyProviderInterface $container) { |
|
69 | + $container[self::RABBITMQ_QUEUES] = function(DependencyProviderInterface $container) { |
|
70 | 70 | return new QueueCollection( |
71 | 71 | $this->getQueues() |
72 | 72 | ); |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | private function createListenerCollection(DependencyProviderInterface $container): void |
80 | 80 | { |
81 | - $container[self::RABBITMQ_LISTENER] = function (DependencyProviderInterface $container) { |
|
81 | + $container[self::RABBITMQ_LISTENER] = function(DependencyProviderInterface $container) { |
|
82 | 82 | return new ListenerCollection( |
83 | 83 | $this->getListener() |
84 | 84 | ); |
@@ -47,7 +47,7 @@ |
||
47 | 47 | |
48 | 48 | public function consumeQueries(ListenerInterface $listener) |
49 | 49 | { |
50 | - $this->channel->basic_qos(null, $listener->getChunkSize(), null); |
|
50 | + $this->channel->basic_qos(null, $listener->getChunkSize(), null); |
|
51 | 51 | $this->channel->basic_consume( |
52 | 52 | $listener->getQueueName(), |
53 | 53 | $this->config->getTag(), |