@@ -91,6 +91,6 @@ |
||
91 | 91 | { |
92 | 92 | $content = $this->removeXmlFirstLine($this->node->asXML()); |
93 | 93 | |
94 | - return new Response($content, 200, ['Content-Type' => 'application/xml']); |
|
94 | + return new Response($content, 200, [ 'Content-Type' => 'application/xml' ]); |
|
95 | 95 | } |
96 | 96 | } |
97 | 97 | \ No newline at end of file |
@@ -22,6 +22,6 @@ |
||
22 | 22 | */ |
23 | 23 | public function toResponse() |
24 | 24 | { |
25 | - return new Response(json_encode($this->data), 200, ['Content-Type' => 'application/json']); |
|
25 | + return new Response(json_encode($this->data), 200, [ 'Content-Type' => 'application/json' ]); |
|
26 | 26 | } |
27 | 27 | } |