Completed
Branch develop (c4337b)
by Romain
01:55
created

WebhookRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 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