Passed
Push — master ( 4f415b...b6b0b7 )
by Gabriel
03:01
created

ResponsePayload   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
dl 0
loc 13
rs 10
c 1
b 0
f 0
ccs 3
cts 3
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Nip\Controllers\Response;
4
5
/**
6
 * Class ResponsePayload
7
 * @package Nip\Controllers\Response
8
 */
9
class ResponsePayload
10
{
11
    use ResponsePayload\HasDataTrait;
12
    use ResponsePayload\HasFormatTrait;
13
    use ResponsePayload\HasHeadersTrait;
14
15
    /**
16
     * ResponsePayload constructor.
17
     */
18 4
    public function __construct()
19
    {
20 4
        $this->initData();
21 4
        $this->initHeaders();
22 4
    }
23
}
24