Passed
Push — trunk ( aca09f...bd7f95 )
by Christian
14:04 queued 13s
created

IndexController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Shopware\WebInstaller\Controller;
5
6
use Shopware\Core\Framework\Log\Package;
7
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
8
use Symfony\Component\HttpFoundation\Response;
9
use Symfony\Component\Routing\Annotation\Route;
10
11
/**
12
 * @internal
13
 */
14
#[Package('core')]
15
class IndexController extends AbstractController
16
{
17
    #[Route('/', name: 'index', defaults: ['step' => 0])]
18
    public function index(): Response
19
    {
20
        return $this->render('index.html.twig');
21
    }
22
}
23