Headers   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
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 10
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
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 17
    public function __construct()
16
    {
17 17
        parent::__construct([
18 17
            'Content-Type' => 'application/json',
19
            'Accept' => 'application/json'
20
        ]);
21 17
    }
22
}
23