| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function process(ContainerBuilder $container) |
||
| 12 | { |
||
| 13 | if ($container->hasDefinition('fos_rest.request.param_fetcher')) { |
||
| 14 | $definition = $container->getDefinition('bootstrap.fos_rest.request.param_fetcher'); |
||
| 15 | $definition->setDecoratedService('fos_rest.request.param_fetcher'); |
||
| 16 | $definition->replaceArgument(0, new Reference('bootstrap.fos_rest.request.param_fetcher.inner')); |
||
| 17 | } |
||
| 18 | } |
||
| 19 | } |
||
| 20 |