Completed
Pull Request — master (#3)
by Pavel
05:24
created
src/Bankiru/Api/JsonRpc/Exception/RpcMethodNotFoundException.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
             );
37 37
     }
38 38
 
39
-    /** @return JsonRpcErrorInterface */
39
+    /** @return JsonRpcRequestInterface */
40 40
     public function getJsonRpcError()
41 41
     {
42 42
         return $this->error;
Please login to merge, or discard this patch.
src/Bankiru/Api/JsonRpc/Test/Tests/RouterTest.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,9 +27,11 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.