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   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 46
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 9
c 1
b 0
f 1
dl 0
loc 46
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getLimit() 0 3 1
A setOffset() 0 4 1
A getOffset() 0 3 1
A setLimit() 0 4 1
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