Passed
Push — master ( a4ddd3...82bd79 )
by Alex
06:44
created

UnexistingRouteUnitTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 1
f 0
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\UnexistingRouteTestClass;
8
9
/**
10
 *
11
 * @psalm-suppress PropertyNotSetInConstructor
12
 */
13
class UnexistingRouteUnitTest extends UnexistingRouteTestClass
14
{
15
16
    /**
17
     *
18
     * {@inheritdoc}
19
     * @see UnexistingRouteTestClass::getRouter()
20
     */
21
    protected function getRouter(): RouterInterface
22
    {
23
        return new SimpleRouter();
24
    }
25
}
26