Completed
Push — master ( 64f114...82d9eb )
by Korotkov
02:36 queued 17s
created
src/JsonFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,6 +17,6 @@
 block discarded – undo
17 17
      */
18 18
     public function createMessage(string $content): string
19 19
     {
20
-        return \json_encode(['content' => $content]);
20
+        return \json_encode([ 'content' => $content ]);
21 21
     }
22 22
 }
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
@@ -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), $content);
28 28
     }
Please login to merge, or discard this patch.