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.

UserProfile   A
last analyzed

Complexity

Total Complexity 11

Size/Duplication

Total Lines 145
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 11
lcom 0
cbo 1
dl 0
loc 145
c 0
b 0
f 0
ccs 22
cts 22
cp 1
rs 10

11 Methods

Rating   Name   Duplication   Size   Complexity  
A getEmail() 0 4 1
A getFirstName() 0 4 1
A getImage192() 0 4 1
A getImage24() 0 4 1
A getImage32() 0 4 1
A getImage48() 0 4 1
A getImage72() 0 4 1
A getLastName() 0 4 1
A getPhone() 0 4 1
A getRealName() 0 4 1
A getSkype() 0 4 1
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/types/user
18
 */
19
class UserProfile extends AbstractModel
20
{
21
    /**
22
     * @var string|null
23
     */
24
    private $realName;
25
26
    /**
27
     * @var string|null
28
     */
29
    private $firstName;
30
31
    /**
32
     * @var string|null
33
     */
34
    private $lastName;
35
36
    /**
37
     * @var string|null
38
     */
39
    private $skype;
40
41
    /**
42
     * @var string|null
43
     */
44
    private $phone;
45
46
    /**
47
     * @var string|null
48
     */
49
    private $email;
50
51
    /**
52
     * @var string|null
53
     */
54
    private $image24;
55
56
    /**
57
     * @var string|null
58
     */
59
    private $image32;
60
61
    /**
62
     * @var string|null
63
     */
64
    private $image48;
65
66
    /**
67
     * @var string|null
68
     */
69
    private $image72;
70
71
    /**
72
     * @var string|null
73
     */
74
    private $image192;
75
76
    /**
77
     * @return string|null
78
     */
79 4
    public function getEmail()
80
    {
81 4
        return $this->email;
82
    }
83
84
    /**
85
     * @return string|null
86
     */
87 4
    public function getFirstName()
88
    {
89 4
        return $this->firstName;
90
    }
91
92
    /**
93
     * @return string|null
94
     */
95 4
    public function getImage192()
96
    {
97 4
        return $this->image192;
98
    }
99
100
    /**
101
     * @return string|null
102
     */
103 4
    public function getImage24()
104
    {
105 4
        return $this->image24;
106
    }
107
108
    /**
109
     * @return string|null
110
     */
111 4
    public function getImage32()
112
    {
113 4
        return $this->image32;
114
    }
115
116
    /**
117
     * @return string|null
118
     */
119 4
    public function getImage48()
120
    {
121 4
        return $this->image48;
122
    }
123
124
    /**
125
     * @return string|null
126
     */
127 4
    public function getImage72()
128
    {
129 4
        return $this->image72;
130
    }
131
132
    /**
133
     * @return string|null
134
     */
135 4
    public function getLastName()
136
    {
137 4
        return $this->lastName;
138
    }
139
140
    /**
141
     * @return string|null
142
     */
143 4
    public function getPhone()
144
    {
145 4
        return $this->phone;
146
    }
147
148
    /**
149
     * @return string|null
150
     */
151 4
    public function getRealName()
152
    {
153 4
        return $this->realName;
154
    }
155
156
    /**
157
     * @return string|null
158
     */
159 4
    public function getSkype()
160
    {
161 4
        return $this->skype;
162
    }
163
}
164