Completed
Push — master ( 327515...051294 )
by Indra
02:26
created

StreamResult::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 9
ccs 0
cts 9
cp 0
rs 9.6666
c 0
b 0
f 0
cc 1
eloc 7
nc 1
nop 5
crap 2
1
<?php
2
3
namespace IndraGunawan\RestService;
4
5
use GuzzleHttp\Psr7\Response as BaseResponse;
6
7
class StreamResult extends BaseResponse
8
{
9
    public function __construct(
10
        $status = 200,
11
        array $headers = [],
12
        $body = null,
13
        $version = '1.1',
14
        $reason = null
15
    ) {
16
        parent::__construct($status, $headers, $body, $version, $reason);
17
    }
18
}
19