Completed
Push — master ( 539dd8...299131 )
by John
01:54
created
src/Routing/OpenApiRouteLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
                     $router,
96 96
                     $routerController
97 97
                 );
98
-                $defaults      = [
98
+                $defaults = [
99 99
                     '_controller'               => $controllerKey,
100 100
                     RequestMeta::ATTRIBUTE_URI  => $resource,
101 101
                     RequestMeta::ATTRIBUTE_PATH => $pathItem->getPath(),
Please login to merge, or discard this patch.
src/Routing/RequestMeta.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
             return null;
76 76
         }
77 77
 
78
-        $operation   = ($description = $repository->get($request->attributes->get(RequestMeta::ATTRIBUTE_URI)))
78
+        $operation = ($description = $repository->get($request->attributes->get(RequestMeta::ATTRIBUTE_URI)))
79 79
             ->getPath($request->attributes->get(RequestMeta::ATTRIBUTE_PATH))
80 80
             ->getOperation($request->getMethod());
81 81
 
Please login to merge, or discard this patch.
src/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public function getConfigTreeBuilder()
23 23
     {
24
-        $rootNode    = ($builder = new TreeBuilder())->root('api_routing');
24
+        $rootNode = ($builder = new TreeBuilder())->root('api_routing');
25 25
         $rootNode
26 26
             ->children()
27 27
             ->scalarNode('name')->defaultValue('php-api')
Please login to merge, or discard this patch.