Passed
Push — master ( 039da4...280ab3 )
by 世昌
01:53
created

NullContent   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A send() 0 3 1
1
<?php
2
namespace nebula\application\response\provider\type;
3
4
use nebula\application\response\Response;
5
6
/**
7
 * 响应接口
8
 */
9
class NullContent implements TypeContentInterface
10
{
11
    public static function send(Response $response, $content, string $type)
12
    {
13
        $response->send('');
14
    }
15
}
16