Test Failed
Push — master ( 3e9160...6b5548 )
by Jairo
02:47
created

HttpResponseParser::setHttpHeader()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 3
crap 2
1
<?php
2
/**
3
 * Author: jairo.rodriguez <[email protected]>
4
 */
5
6
namespace BFunky\HttpParser;
7
8
9
use BFunky\HttpParser\Entity\HttpResponseHeader;
10
11
class HttpResponseParser extends AbstractHttpParser
12
{
13
    /**
14
     * @inheritdoc
15
     */
16
    protected function setHttpHeader(string $method, string $path, string $protocol): void
17
    {
18
        $this->httpHeader = new HttpResponseHeader($method, $path, $protocol);
19
    }
20
}