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
Push — master ( 8f0dc3...47da2d )
by Alexander
20s
created

APNSAlert::setActionLocKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
/*
4
 * (c) Alexander Zhukov <[email protected]>
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace Zbox\UnifiedPush\Message\Type;
11
12
/**
13
 * Class APNSAlert
14
 * @package Zbox\UnifiedPush\Message\Type
15
 */
16
class APNSAlert
17
{
18
    /**
19
     * @var string|null
20
     */
21
    private $body;
22
23
    /**
24
     * @var string|null
25
     */
26
    private $title;
27
28
    /**
29
     * @var string|null
30
     */
31
    private $titleLocKey;
32
33
    /**
34
     * @var array|null
35
     */
36
    private $titleLocArgs;
37
38
    /**
39
     * @var string|null
40
     */
41
    private $actionLocKey;
42
43
    /**
44
     * @var string|null
45
     */
46
    private $locKey;
47
48
    /**
49
     * @var array|null
50
     */
51
    private $locArgs;
52
53
    /**
54
     * @var string|null
55
     */
56
    private $launchImage;
57
58
    /**
59
     * @return null|string
60
     */
61
    public function getBody()
62
    {
63
        return $this->body;
64
    }
65
66
    /**
67
     * @param null|string $body
68
     * @return APNSAlert
69
     */
70
    public function setBody($body)
71
    {
72
        $this->body = $body;
73
        return $this;
74
    }
75
76
    /**
77
     * @return null|string
78
     */
79
    public function getTitle()
80
    {
81
        return $this->title;
82
    }
83
84
    /**
85
     * @param null|string $title
86
     * @return APNSAlert
87
     */
88
    public function setTitle($title)
89
    {
90
        $this->title = $title;
91
        return $this;
92
    }
93
94
    /**
95
     * @return null|string
96
     */
97
    public function getTitleLocKey()
98
    {
99
        return $this->titleLocKey;
100
    }
101
102
    /**
103
     * @param null|string $titleLocKey
104
     * @return APNSAlert
105
     */
106
    public function setTitleLocKey($titleLocKey)
107
    {
108
        $this->titleLocKey = $titleLocKey;
109
        return $this;
110
    }
111
112
    /**
113
     * @return array|null
114
     */
115
    public function getTitleLocArgs()
116
    {
117
        return $this->titleLocArgs;
118
    }
119
120
    /**
121
     * @param array|null $titleLocArgs
122
     * @return APNSAlert
123
     */
124
    public function setTitleLocArgs(array $titleLocArgs)
125
    {
126
        $this->titleLocArgs = $titleLocArgs;
127
        return $this;
128
    }
129
130
    /**
131
     * @return null|string
132
     */
133
    public function getActionLocKey()
134
    {
135
        return $this->actionLocKey;
136
    }
137
138
    /**
139
     * @param null|string $actionLocKey
140
     * @return APNSAlert
141
     */
142
    public function setActionLocKey($actionLocKey)
143
    {
144
        $this->actionLocKey = $actionLocKey;
145
        return $this;
146
    }
147
148
    /**
149
     * @return null|string
150
     */
151
    public function getLocKey()
152
    {
153
        return $this->locKey;
154
    }
155
156
    /**
157
     * @param null|string $locKey
158
     * @return APNSAlert
159
     */
160
    public function setLocKey($locKey)
161
    {
162
        $this->locKey = $locKey;
163
        return $this;
164
    }
165
166
    /**
167
     * @return array|null
168
     */
169
    public function getLocArgs()
170
    {
171
        return $this->locArgs;
172
    }
173
174
    /**
175
     * @param array|null $locArgs
176
     * @return APNSAlert
177
     */
178
    public function setLocArgs(array $locArgs)
179
    {
180
        $this->locArgs = $locArgs;
181
        return $this;
182
    }
183
184
    /**
185
     * @return null|string
186
     */
187
    public function getLaunchImage()
188
    {
189
        return $this->launchImage;
190
    }
191
192
    /**
193
     * @param null|string $launchImage
194
     * @return APNSAlert
195
     */
196
    public function setLaunchImage($launchImage)
197
    {
198
        $this->launchImage = $launchImage;
199
        return $this;
200
    }
201
}
202