Completed
Push — master ( ed1e72...f566c8 )
by Korotkov
12:52 queued 11:04
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
@@ -16,6 +16,6 @@
 block discarded – undo
16 16
      */
17 17
     public function getContent(): string
18 18
     {
19
-        return \json_encode(['content' => $this->content]);
19
+        return \json_encode([ 'content' => $this->content ]);
20 20
     }
21 21
 }
Please login to merge, or discard this patch.