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 ( 08f33b...54b06f )
by Andreas
03:24
created

CreateUpdateMessage   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
c 0
b 0
f 0
dl 0
loc 25
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getEntityId() 0 3 1
A setEntityId() 0 4 1
1
<?php
2
declare(strict_types=1);
3
/**
4
 */
5
namespace CommerceLeague\ActiveCampaign\MessageQueue\Contact;
6
7
use CommerceLeague\ActiveCampaign\MessageQueue\SerializedRequestAwareInterface;
8
use CommerceLeague\ActiveCampaign\MessageQueue\SerializedRequestAwareTrait;
9
10
/**
11
 * Class CreateUpdateConsumerMessage
12
 */
13
class CreateUpdateMessage implements SerializedRequestAwareInterface
14
{
15
    use SerializedRequestAwareTrait;
16
17
    /**
18
     * @var int
19
     */
20
    private $entityId;
21
22
    /**
23
     * @return int
24
     */
25
    public function getEntityId(): int
26
    {
27
        return $this->entityId;
28
    }
29
30
    /**
31
     * @param int $entityId
32
     * @return $this
33
     */
34
    public function setEntityId(int $entityId): self
35
    {
36
        $this->entityId = $entityId;
37
        return $this;
38
    }
39
}
40