Test Failed
Pull Request — master (#9)
by Nicolas
06:10
created
src/Messages/Bodies/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     
33 33
     public function changeContent($content)
34 34
     {
35
-        if(! is_array($content))
35
+        if( ! is_array($content))
36 36
         {
37 37
             $content = array($content);
38 38
         }
Please login to merge, or discard this patch.
src/Messages/Bodies/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     
28 28
     public function changeText($text)
29 29
     {
30
-        if(! is_array($text))
30
+        if( ! is_array($text))
31 31
         {
32 32
             $text = array($text);
33 33
         }
Please login to merge, or discard this patch.
src/Messages/Message.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -218,7 +218,7 @@
 block discarded – undo
218 218
         $skippedAttributes = array('timestamp', 'headers', 'app_id', 'routing_key');
219 219
         foreach($attributes as $attributeName => $value)
220 220
         {
221
-            if(! in_array($attributeName, $skippedAttributes))
221
+            if( ! in_array($attributeName, $skippedAttributes))
222 222
             {
223 223
                 $writableMessage->setAttribute($attributeName, $value);
224 224
             }
Please login to merge, or discard this patch.
src/Messages/InMemory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public static function build($routingKey, Body $body = null, array $additionalHeaders = [], array $additionalAttributes = [])
14 14
     {
15
-        if(! $body instanceof Body)
15
+        if( ! $body instanceof Body)
16 16
         {
17 17
             $body = new NullBody();
18 18
         }
Please login to merge, or discard this patch.