@@ -35,7 +35,7 @@ |
||
35 | 35 | { |
36 | 36 | $exchangeParts = []; |
37 | 37 | |
38 | - if(! empty($this->exchangesPrefix)) |
|
38 | + if( ! empty($this->exchangesPrefix)) |
|
39 | 39 | { |
40 | 40 | $exchangeParts[] = trim($this->exchangesPrefix); |
41 | 41 | } |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | private function ensureIsConnected() |
34 | 34 | { |
35 | - if(! $this->channel instanceof \AMQPChannel) |
|
35 | + if( ! $this->channel instanceof \AMQPChannel) |
|
36 | 36 | { |
37 | 37 | $configuration = new PrefixedConfiguration($this->configuration, 'amqp/broker'); |
38 | 38 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | { |
62 | 62 | $ex = $this->getExchange($exchangeName); |
63 | 63 | } |
64 | - catch (\Exception $e) |
|
64 | + catch(\Exception $e) |
|
65 | 65 | { |
66 | 66 | $this->logMessage($exchangeName, $message); |
67 | 67 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | $message->packAttributes() |
95 | 95 | ); |
96 | 96 | } |
97 | - catch (\Exception $e) |
|
97 | + catch(\Exception $e) |
|
98 | 98 | { |
99 | 99 | $this->logMessage($ex->getName(), $message); |
100 | 100 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | $ex = new \AMQPExchange($this->channel); |
112 | 112 | |
113 | - if(!empty($exchangeName)) |
|
113 | + if( ! empty($exchangeName)) |
|
114 | 114 | { |
115 | 115 | $ex->setName($exchangeName); |
116 | 116 | $ex->setType($type); |