Passed
Pull Request — master (#1)
by Yohann
06:03
created

ErrorController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

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