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

getTemplateControllerService::do()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
c 0
b 0
f 0
nc 1
nop 2
dl 0
loc 5
rs 10
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