Test Failed
Push — main ( 109ef1...0eb966 )
by Michael
02:49
created

getRedirectControllerService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 14
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A do() 0 7 1
1
<?php
2
3
namespace Container6msxD4P;
4
5
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
6
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
7
8
/**
9
 * @internal This class has been auto-generated by the Symfony Dependency Injection Component.
10
 */
11
class getRedirectControllerService extends Braunstetter_MenuBundle_Test_app_src_TestKernelDevDebugContainer
12
{
13
    /**
14
     * Gets the public 'Symfony\Bundle\FrameworkBundle\Controller\RedirectController' shared service.
15
     *
16
     * @return \Symfony\Bundle\FrameworkBundle\Controller\RedirectController
17
     */
18
    public static function do($container, $lazyLoad = true)
0 ignored issues
show
Unused Code introduced by
The parameter $lazyLoad is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

18
    public static function do($container, /** @scrutinizer ignore-unused */ $lazyLoad = true)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
        include_once \dirname(__DIR__, 4).'/vendor/symfony/framework-bundle/Controller/RedirectController.php';
21
22
        $a = ($container->privates['router.request_context'] ?? $container->getRouter_RequestContextService());
23
24
        return $container->services['Symfony\\Bundle\\FrameworkBundle\\Controller\\RedirectController'] = new \Symfony\Bundle\FrameworkBundle\Controller\RedirectController(($container->services['router'] ?? $container->getRouterService()), $a->getHttpPort(), $a->getHttpsPort());
25
    }
26
}
27