Passed
Push — master ( 20adb5...15e0f1 )
by Yohann
07:24 queued 05:57
created

SiteController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 10
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A about() 0 3 1
A index() 0 3 1
1
<?php
2
3
use mvc\core\abc\Controller;
4
5
class SiteController extends Controller
6
{
7
    public function index(): string
8
    {
9
        return $this->render('index');
10
    }
11
12
    public function about(): string
13
    {
14
        return $this->render('about');
15
    }
16
}
17