@@ -8,6 +8,6 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function __construct($json) |
| 10 | 10 | { |
| 11 | - parent::__construct('"' . json_encode($json) . '"" is not an encoded PSR-7 response'); |
|
| 11 | + parent::__construct('"'.json_encode($json).'"" is not an encoded PSR-7 response'); |
|
| 12 | 12 | } |
| 13 | 13 | } |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | $json = []; |
| 71 | 71 | $json['protocol_version'] = $request->getProtocolVersion(); |
| 72 | 72 | $json['method'] = $request->getMethod(); |
| 73 | - $json['uri'] = (string)$request->getUri(); |
|
| 73 | + $json['uri'] = (string) $request->getUri(); |
|
| 74 | 74 | $json['headers'] = $request->getHeaders(); |
| 75 | 75 | $json['body'] = base64_encode($request->getBody()->getContents()); |
| 76 | 76 | |
@@ -8,6 +8,6 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public function __construct($json) |
| 10 | 10 | { |
| 11 | - parent::__construct('"' . json_encode($json) . '"" is not an encoded PSR-7 request'); |
|
| 11 | + parent::__construct('"'.json_encode($json).'"" is not an encoded PSR-7 request'); |
|
| 12 | 12 | } |
| 13 | 13 | } |