@@ -95,7 +95,7 @@ |
||
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(), |
@@ -75,7 +75,7 @@ |
||
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 |
@@ -21,7 +21,7 @@ |
||
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') |