StreamResult   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 9 1
1
<?php declare(strict_types=1);
2
3
/*
4
 * This file is part of indragunawan/rest-service package.
5
 *
6
 * (c) Indra Gunawan <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace IndraGunawan\RestService;
13
14
use GuzzleHttp\Psr7\Response as BaseResponse;
15
16
class StreamResult extends BaseResponse
17
{
18 1
    public function __construct(
19
        $status = 200,
20
        array $headers = [],
21
        $body = null,
22
        $version = '1.1',
23
        $reason = null
24
    ) {
25 1
        parent::__construct($status, $headers, $body, $version, $reason);
26 1
    }
27
}
28