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

IndexController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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