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::setContactId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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