Passed
Push — master ( 251f29...7b02d7 )
by Korotkov
10:01 queued 08:21
created
src/JsonMessage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 {
14 14
     public function createMessage(string $content): string
15 15
     {
16
-        return \json_encode(["content" => $content]);
16
+        return \json_encode([ "content" => $content ]);
17 17
     }
18 18
 }
Please login to merge, or discard this patch.
tests/AbstractFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
     public function testJson()
21 21
     {
22
-        $content = \json_encode(['content' => $this->content]);
22
+        $content = \json_encode([ 'content' => $this->content ]);
23 23
 
24 24
         $this->assertEquals((new JsonMessage())->createMessage($this->content), $content);
25 25
     }
Please login to merge, or discard this patch.