@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | /** |
19 | 19 | * Via: https://github.com/reactphp/http/pull/220#discussion_r140863176. |
20 | 20 | */ |
21 | - $this->addType('application/json', function (ServerRequestInterface $request) { |
|
21 | + $this->addType('application/json', function(ServerRequestInterface $request) { |
|
22 | 22 | $body = (string)$request->getBody(); |
23 | 23 | $result = \json_decode($body, true); |
24 | 24 | if (!\is_array($result)) { |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Via: https://github.com/reactphp/http/pull/220#discussion_r140863176. |
33 | 33 | */ |
34 | - $xmlParser = function (ServerRequestInterface $request) { |
|
34 | + $xmlParser = function(ServerRequestInterface $request) { |
|
35 | 35 | $body = (string)$request->getBody(); |
36 | 36 | $backup = \libxml_disable_entity_loader(true); |
37 | 37 | $backup_errors = \libxml_use_internal_errors(true); |