Passed
Push — master ( b9ae6a...d9928b )
by Mr
02:12
created

Error   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace DrMVC\Router;
4
5
class Error extends Route
6
{
7
    public function __construct(string $method = 'get', string $pattern = 'error', $callable = __CLASS__)
8
    {
9
        parent::__construct($method, $pattern, $callable);
10
    }
11
}