@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Drupal\rabbitmq; |
4 | 4 | |
5 | 5 | use Drupal\Core\Site\Settings; |
6 | -use PhpAmqpLib\Connection\AMQPStreamConnection; |
|
7 | 6 | use PhpAmqpLib\Connection\AMQPSSLConnection; |
7 | +use PhpAmqpLib\Connection\AMQPStreamConnection; |
|
8 | 8 | |
9 | 9 | /** |
10 | 10 | * RabbitMQ connection factory class. |
@@ -67,8 +67,7 @@ |
||
67 | 67 | if (empty($this->connection)) { |
68 | 68 | if (!empty($credentials['ssl'])) { |
69 | 69 | $connection = $this->getSecureConnection(); |
70 | - } |
|
71 | - else { |
|
70 | + } else { |
|
72 | 71 | $connection = $this->getStandardConnection(); |
73 | 72 | } |
74 | 73 |