StaticRoutesUnitTest   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\Simple;
4
5
use Mezon\Router\RouterInterface;
6
use Mezon\Router\SimpleRouter;
7
use Mezon\Router\Tests\Base\StaticRoutesTestClass;
8
use Mezon\Router\Tests\Base\BaseRouterUnitTestClass;
9
10
/**
11
 *
12
 * @psalm-suppress PropertyNotSetInConstructor
13
 */
14
class StaticRoutesUnitTest extends StaticRoutesTestClass
15
{
16
17
    /**
18
     * 
19
     * {@inheritDoc}
20
     * @see BaseRouterUnitTestClass::getRouter()
21
     */
22
    protected function getRouter(): RouterInterface
23
    {
24
        return new SimpleRouter();
25
    }
26
27
}
28