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.

MPNSToast::getParam()   A
last analyzed

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
/*
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 MPNSToast
14
 * @package Zbox\UnifiedPush\Message\Type
15
 */
16
class MPNSToast extends MPNSBase
17
{
18
    const MESSAGE_TYPE = 'toast';
19
20
    const DELAY_INTERVAL_IMMEDIATE  = 2;
21
    const DELAY_INTERVAL_450        = 12;
22
    const DELAY_INTERVAL_900        = 22;
23
24
    /**
25
     * @var string
26
     */
27
    private $text1;
28
29
    /**
30
     * @var string
31
     */
32
    private $text2;
33
34
    /**
35
     * @var string
36
     */
37
    private $param;
38
39
    /**
40
     * @return string
41
     */
42
    public function getParam()
43
    {
44
        return $this->param;
45
    }
46
47
    /**
48
     * @param string $param
49
     * @return $this
50
     */
51
    public function setParam($param)
52
    {
53
        $this->param = $param;
54
        return $this;
55
    }
56
57
    /**
58
     * @return string
59
     */
60
    public function getText1()
61
    {
62
        return $this->text1;
63
    }
64
65
    /**
66
     * @param string $text1
67
     * @return $this
68
     */
69
    public function setText1($text1)
70
    {
71
        $this->text1 = $text1;
72
        return $this;
73
    }
74
75
    /**
76
     * @return string
77
     */
78
    public function getText2()
79
    {
80
        return $this->text2;
81
    }
82
83
    /**
84
     * @param string $text2
85
     * @return $this
86
     */
87
    public function setText2($text2)
88
    {
89
        $this->text2 = $text2;
90
        return $this;
91
    }
92
}
93