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

NullContent::send()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
rs 10
c 0
b 0
f 0
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