Completed
Pull Request — master (#3)
by Pavel
05:24
created
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.
src/Bankiru/Api/JsonRpc/Controller/JsonRpcControllerNameParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
bootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.