@@ -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; |
@@ -18,6 +18,6 @@ |
||
18 | 18 | /** {@inheritdoc} */ |
19 | 19 | protected function guessControllerClassName(BundleInterface $bundle, $controller) |
20 | 20 | { |
21 | - return $bundle->getNamespace().'\\JsonRpc\\'.$controller.'Controller'; |
|
21 | + return $bundle->getNamespace() . '\\JsonRpc\\' . $controller . 'Controller'; |
|
22 | 22 | } |
23 | 23 | } |
@@ -6,7 +6,7 @@ |
||
6 | 6 | /** |
7 | 7 | * @var ClassLoader $loader |
8 | 8 | */ |
9 | -$loader = require __DIR__.'/vendor/autoload.php'; |
|
9 | +$loader = require __DIR__ . '/vendor/autoload.php'; |
|
10 | 10 | |
11 | 11 | AnnotationRegistry::registerLoader([$loader, 'loadClass']); |
12 | 12 |