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