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.

Message::getNext2()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/*
4
 * This file is part of the Slack API library.
5
 *
6
 * (c) Cas Leentfaar <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace CL\Slack\Model;
13
14
/**
15
 * @author Cas Leentfaar <[email protected]>
16
 *
17
 * @link Official documentation at https://api.slack.com/docs/formatting
18
 */
19
class Message extends SimpleMessage
20
{
21
    /**
22
     * @var Channel|null
23
     */
24
    private $channel;
0 ignored issues
show
Comprehensibility introduced by
Consider using a different property name as you override a private property of the parent class.
Loading history...
25
26
    /**
27
     * @var string|null
28
     */
29
    private $permalink;
30
31
    /**
32
     * @var SimpleMessage|null
33
     */
34
    private $previous;
35
36
    /**
37
     * @var SimpleMessage|null
38
     */
39
    private $previous2;
40
41
    /**
42
     * @var SimpleMessage|null
43
     */
44
    private $next;
45
46
    /**
47
     * @var SimpleMessage|null
48
     */
49
    private $next2;
50
51
    /**
52
     * @var SimpleMessage|null
53
     */
54
    private $next2Alt;
55
56
    /**
57
     * @return Channel|null
58
     */
59
    public function getChannel()
60
    {
61
        return $this->channel;
62
    }
63
64
    /**
65
     * @return SimpleMessage|null
66
     */
67
    public function getNext()
68
    {
69
        return $this->next;
70
    }
71
72
    /**
73
     * @return SimpleMessage|null
74
     */
75
    public function getNext2()
76
    {
77
        return $this->next2;
78
    }
79
80
    /**
81
     * @return SimpleMessage|null
82
     */
83
    public function getNext2Alt()
84
    {
85
        return $this->next2Alt;
86
    }
87
88
    /**
89
     * @return null|string
90
     */
91
    public function getPermalink()
92
    {
93
        return $this->permalink;
94
    }
95
96
    /**
97
     * @return SimpleMessage|null
98
     */
99
    public function getPrevious()
100
    {
101
        return $this->previous;
102
    }
103
104
    /**
105
     * @return SimpleMessage|null
106
     */
107
    public function getPrevious2()
108
    {
109
        return $this->previous2;
110
    }
111
}
112