AddRouteUnitTest   A
last analyzed

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
declare(strict_types = 1);
3
namespace Mezon\Router\Tests\Standart;
4
5
use Mezon\Router\RouterInterface;
6
use Mezon\Router\Tests\Base\RouterUnitTestClass;
7
use Mezon\Router\Router;
8
9
/**
10
 *
11
 * @psalm-suppress PropertyNotSetInConstructor
12
 */
13
class AddRouteUnitTest extends RouterUnitTestClass
14
{
15
16
    /**
17
     *
18
     * {@inheritdoc}
19
     * @see RouterUnitTestClass::getRouter()
20
     */
21
    protected function getRouter(): RouterInterface
22
    {
23
        return new Router();
24
    }
25
}
26