Passed
Push — master ( 4cfdc5...37c7d0 )
by Alex
07:00
created

AddRouteUnitTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRouter() 0 3 1
1
<?php
2
namespace Mezon\Router\Tests\Standart;
3
4
use Mezon\Router\RouterInterface;
5
use Mezon\Router\Tests\Base\RouterUnitTestClass;
6
use Mezon\Router\Router;
7
8
/**
9
 *
10
 * @psalm-suppress PropertyNotSetInConstructor
11
 */
12
class AddRouteUnitTest extends RouterUnitTestClass
13
{
14
15
    /**
16
     *
17
     * {@inheritdoc}
18
     * @see RouterUnitTestClass::getRouter()
19
     */
20
    protected function getRouter(): RouterInterface
21
    {
22
        return new Router();
23
    }
24
}
25