@@ -22,7 +22,7 @@ |
||
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 | } |
@@ -16,6 +16,6 @@ |
||
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 | } |