@@ -36,7 +36,7 @@ |
||
| 36 | 36 | ); |
| 37 | 37 | } |
| 38 | 38 | |
| 39 | - /** @return JsonRpcErrorInterface */ |
|
| 39 | + /** @return JsonRpcRequestInterface */ |
|
| 40 | 40 | public function getJsonRpcError() |
| 41 | 41 | { |
| 42 | 42 | return $this->error; |
@@ -165,6 +165,9 @@ |
||
| 165 | 165 | ); |
| 166 | 166 | } |
| 167 | 167 | |
| 168 | + /** |
|
| 169 | + * @param string $uri |
|
| 170 | + */ |
|
| 168 | 171 | private function createJsonRequest($uri, $content) |
| 169 | 172 | { |
| 170 | 173 | return Request::create($uri, 'POST', [], [], [], [], json_encode($content)); |