Completed
Push — master ( 495169...b31514 )
by Changwan
10:11
created

NullResponsifier   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A responsify() 0 4 1
1
<?php
2
namespace Wandu\Router\Responsifier;
3
4
use Psr\Http\Message\ResponseInterface;
5
use Wandu\Router\Contracts\ResponsifierInterface;
6
7
class NullResponsifier implements ResponsifierInterface
8
{
9
    /**
10
     * {@inheritdoc}
11
     */
12 17
    public function responsify($response): ResponseInterface
13
    {
14 17
        return $response;
15
    }
16
}
17