Passed
Push — master ( 70c68f...c76078 )
by Alexander
06:58
created

TestController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 3 1
1
<?php
2
3
namespace Yiisoft\Router\Tests\Support;
4
5
use Nyholm\Psr7\Response;
6
use Psr\Http\Message\ResponseInterface;
7
8
class TestController
9
{
10
    public function index(): ResponseInterface
11
    {
12
        return new Response();
13
    }
14
}
15