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

AddRouteUnitTest::getRouter()   A

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
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