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

getTemplateControllerService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 12
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A do() 0 5 1
1
<?php
2
3
namespace ContainerNaUkzx3;
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 getTemplateControllerService extends Braunstetter_MenuBundle_Test_app_src_TestKernelDevDebugContainer
12
{
13
    /**
14
     * Gets the public 'Symfony\Bundle\FrameworkBundle\Controller\TemplateController' shared service.
15
     *
16
     * @return \Symfony\Bundle\FrameworkBundle\Controller\TemplateController
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/TemplateController.php';
21
22
        return $container->services['Symfony\\Bundle\\FrameworkBundle\\Controller\\TemplateController'] = new \Symfony\Bundle\FrameworkBundle\Controller\TemplateController(($container->services['.container.private.twig'] ?? $container->load('get_Container_Private_TwigService')));
23
    }
24
}
25