GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( e4b67a...d8327a )
by Andreas
03:56
created

ImportMessage::getOffset()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 1
c 1
b 0
f 1
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
declare(strict_types=1);
3
/**
4
 */
5
6
namespace CommerceLeague\ActiveCampaign\MessageQueue\Contact;
7
8
/**
9
 * Class ImportMessage
10
 */
11
class ImportMessage
12
{
13
    /**
14
     * @var int
15
     */
16
    private $limit;
17
18
    /**
19
     * @var int
20
     */
21
    private $offset;
22
23
    /**
24
     * @return int
25
     */
26
    public function getLimit(): int
27
    {
28
        return $this->limit;
29
    }
30
31
    /**
32
     * @param int $limit
33
     * @return ImportMessage
34
     */
35
    public function setLimit(int $limit): ImportMessage
36
    {
37
        $this->limit = $limit;
38
        return $this;
39
    }
40
41
    /**
42
     * @return int
43
     */
44
    public function getOffset(): int
45
    {
46
        return $this->offset;
47
    }
48
49
    /**
50
     * @param int $offset
51
     * @return ImportMessage
52
     */
53
    public function setOffset(int $offset): ImportMessage
54
    {
55
        $this->offset = $offset;
56
        return $this;
57
    }
58
}
59