SimpleRouterUnitTest::getRouter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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