Completed
Push — master ( 6f5319...694389 )
by Ronaldo
01:40
created

Headers::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 7
ccs 0
cts 4
cp 0
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
crap 2
1
<?php
2
3
namespace WSW\SiftScience\Collections;
4
5
use Doctrine\Common\Collections\ArrayCollection;
6
7
/**
8
 * Class Headers
9
 *
10
 * @package WSW\SiftScience\Collections
11
 * @author Ronaldo Matos Rodrigues <[email protected]>
12
 */
13
class Headers extends ArrayCollection
14
{
15
    public function __construct()
16
    {
17
        parent::__construct([
18
            'Content-Type' => 'application/json',
19
            'Accept' => 'application/json'
20
        ]);
21
    }
22
}
23