@@ -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; |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Bankiru\Api\JsonRpc\DependencyInjection; |
4 | 4 | |
5 | -use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\JmsDriverPass; |
|
6 | 5 | use Bankiru\Api\JsonRpc\Adapters\JMS\Compiler\RelationHandlerHelper; |
7 | 6 | use Bankiru\Api\Rpc\RpcEvents; |
8 | 7 | use JMS\SerializerBundle\JMSSerializerBundle; |
@@ -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)); |