Test Setup Failed
Pull Request — master (#46)
by Nicolas
02:46
created
src/Messages/Bodies/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 
44 44
     public function changeContent($content): void
45 45
     {
46
-        if(! is_array($content))
46
+        if( ! is_array($content))
47 47
         {
48 48
             $content = array($content);
49 49
         }
Please login to merge, or discard this patch.
src/Clients/Pecl.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     private function ensureIsConnected(): void
47 47
     {
48
-        if(! $this->channel instanceof \AMQPChannel)
48
+        if( ! $this->channel instanceof \AMQPChannel)
49 49
         {
50 50
             $configuration = new PrefixedConfiguration($this->configuration, 'amqp/broker');
51 51
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
         $ex = new \AMQPExchange($this->channel);
146 146
 
147
-        if(!empty($exchangeName))
147
+        if( ! empty($exchangeName))
148 148
         {
149 149
             $ex->setName($exchangeName);
150 150
             $ex->setType($type);
Please login to merge, or discard this patch.