Completed
Push — master ( 861b01...114d74 )
by Serhii
10s
created

SwaggerUiController::indexAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 2
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 4
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace AppBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
6
use Symfony\Component\HttpFoundation\Response;
7
8
class SwaggerUiController extends Controller
9
{
10
    /**
11
     * Render SwaggerUI template.
12
     *
13
     * @return Response
14
     */
15 1
    public function indexAction()
16
    {
17 1
        return $this->render(':SwaggerUI:index.html.twig');
18
    }
19
}
20