Test Failed
Pull Request — master (#11)
by Pavel
11:44
created
Tests/JsonRpcControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@
 block discarded – undo
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));
Please login to merge, or discard this patch.
Test/Tests/RouterTest.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,9 +23,11 @@
 block discarded – undo
23 23
     {
24 24
         $client = self::createClient();
25 25
 
26
-        foreach (['test', 'test_private'] as $endpoint) /** @var MethodCollection $collection */ {
26
+        foreach (['test', 'test_private'] as $endpoint) {
27
+            /** @var MethodCollection $collection */ {
27 28
             /** @var Router $router */
28 29
             $router = $client->getContainer()->get('rpc_server.endpoint_router.' . $endpoint);
30
+        }
29 31
             self::assertNotNull($router);
30 32
             $collection = $router->getMethodCollection();
31 33
             self::assertNotNull($router);
Please login to merge, or discard this patch.