@@ -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; |
@@ -27,9 +27,11 @@ |
||
27 | 27 | { |
28 | 28 | $client = self::createClient(); |
29 | 29 | |
30 | - foreach (['test', 'test_private'] as $endpoint) /** @var MethodCollection $collection */ { |
|
30 | + foreach (['test', 'test_private'] as $endpoint) { |
|
31 | + /** @var MethodCollection $collection */ { |
|
31 | 32 | /** @var Router $router */ |
32 | 33 | $router = $client->getContainer()->get('rpc.endpoint_router.' . $endpoint); |
34 | + } |
|
33 | 35 | self::assertNotNull($router); |
34 | 36 | $collection = $router->getCollection(); |
35 | 37 | self::assertNotNull($router); |