Passed
Push — master ( f1ff91...53e7cc )
by Romain
59s
created

TagRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 37
ccs 9
cts 9
cp 1
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A buildHeaders() 0 4 1
A buildBody() 0 4 1
A buildQuery() 0 4 1
1
<?php
2
3
namespace Kerox\Messenger\Request;
4
5
class TagRequest extends AbstractRequest
6
{
7
8
    /**
9
     * TagRequest constructor.
10
     *
11
     * @param string $pageToken
12
     */
13 1
    public function __construct($pageToken)
14
    {
15 1
        parent::__construct($pageToken);
16 1
    }
17
18
    /**
19
     * @return null
20
     */
21 1
    protected function buildHeaders()
22
    {
23 1
        return;
24
    }
25
26
    /**
27
     * @return null
28
     */
29 1
    protected function buildBody()
30
    {
31 1
        return;
32
    }
33
34
    /**
35
     * @return array
36
     */
37 1
    protected function buildQuery(): array
38
    {
39 1
        return parent::buildQuery();
40
    }
41
}
42