Passed
Push — master ( f566c8...e1f1a3 )
by Korotkov
06:56 queued 11s
created
tests/AbstractFactoryTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
     public function testJson()
24 24
     {
25
-        $content = \json_encode(['content' => $this->content]);
25
+        $content = \json_encode([ 'content' => $this->content ]);
26 26
 
27 27
         $this->assertEquals((new JsonFactory())->createMessage($this->content)->getContent(), $content);
28 28
     }
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
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 {
14 14
     public function getContent(): string
15 15
     {
16
-        return \json_encode(["content" => $this->content]);
16
+        return \json_encode([ "content" => $this->content ]);
17 17
     }
18 18
 }
Please login to merge, or discard this patch.