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.
Completed
Pull Request — master (#2)
by
unknown
04:10
created

PushMessageDTO::getMessageId()   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 0
1
<?php
2
3
namespace Ozean12\GooglePubSubBundle\DTO;
4
5
use JMS\Serializer\Annotation as Serializer;
6
7
/**
8
 * Class PushMessageDTO
9
 */
10
class PushMessageDTO
11
{
12
    /**
13
     * @Serializer\Type("array<string>")
14
     *
15
     * @var string[]
16
     */
17
    private $attributes;
18
19
    /**
20
     * @Serializer\Type("string")
21
     *
22
     * @var string
23
     */
24
    private $data;
25
26
    /**
27
     * @Serializer\Type("string")
28
     *
29
     * @var string
30
     */
31
    private $messageId;
32
33
    /**
34
     * @Serializer\Type("string")
35
     *
36
     * @var string
37
     */
38
    private $publishTime;
39
40
    /**
41
     * @return mixed
42
     */
43
    public function getAttributes()
44
    {
45
        return $this->attributes;
46
    }
47
48
    /**
49
     * @return string
50
     */
51
    public function getData()
52
    {
53
        return $this->data;
54
    }
55
56
    /**
57
     * @return mixed
58
     */
59
    public function getMessageId()
60
    {
61
        return $this->messageId;
62
    }
63
64
    /**
65
     * @return mixed
66
     */
67
    public function getPublishTime()
68
    {
69
        return $this->publishTime;
70
    }
71
}
72