Completed
Push — master ( 3347ae...8ec7fe )
by Romain
9s
created

WebhookRequest   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 37
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
namespace Kerox\Messenger\Request;
3
4
class WebhookRequest extends AbstractRequest
5
{
6
7
    /**
8
     * WebhookRequest constructor.
9
     *
10
     * @param string $pageToken
11
     */
12
    public function __construct(string $pageToken)
13
    {
14
        parent::__construct($pageToken);
15
    }
16
17
    /**
18
     * @return null
19
     */
20
    protected function buildHeaders()
21
    {
22
        return;
23
    }
24
25
    /**
26
     * @return null
27
     */
28
    protected function buildBody()
29
    {
30
        return;
31
    }
32
33
    /**
34
     * @return array
35
     */
36
    protected function buildQuery(): array
37
    {
38
        return parent::buildQuery();
39
    }
40
}
41