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
02:36
created

PushMessageDTO::getPublishTime()   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 string[]
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 string
58
     */
59
    public function getMessageId()
60
    {
61
        return $this->messageId;
62
    }
63
64
    /**
65
     * @return string
66
     */
67
    public function getPublishTime()
68
    {
69
        return $this->publishTime;
70
    }
71
72
    /**
73
     * @param string[] $attributes
74
     * @return PushMessageDTO
75
     */
76
    public function setAttributes(array $attributes)
77
    {
78
        $this->attributes = $attributes;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $data
85
     * @return PushMessageDTO
86
     */
87
    public function setData($data)
88
    {
89
        $this->data = $data;
90
91
        return $this;
92
    }
93
94
    /**
95
     * @param string $messageId
96
     * @return PushMessageDTO
97
     */
98
    public function setMessageId($messageId)
99
    {
100
        $this->messageId = $messageId;
101
102
        return $this;
103
    }
104
105
    /**
106
     * @param string $publishTime
107
     * @return PushMessageDTO
108
     */
109
    public function setPublishTime($publishTime)
110
    {
111
        $this->publishTime = $publishTime;
112
113
        return $this;
114
    }
115
}
116