Passed
Push — master ( 7b02d7...8b0a28 )
by Korotkov
07:21 queued 13s
created
main.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 $content = "Message";
8 8
 
9 9
 $factory = new XMLMessage();
10
-echo $factory->createMessage($content). "\n";
10
+echo $factory->createMessage($content) . "\n";
11 11
 
12 12
 $factory = new JsonMessage();
13 13
 echo $factory->createMessage($content) . "\n";
Please login to merge, or discard this patch.
src/JsonMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
      */
22 22
     public function createMessage(string $content): string
23 23
     {
24
-        return \json_encode(["content" => $content]);
24
+        return \json_encode([ "content" => $content ]);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.