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.

Contact   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 42
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A getFirstName() 0 3 1
A getPhoneNumber() 0 3 1
A getUserId() 0 3 1
A getLastName() 0 3 1
1
<?php
2
3
namespace Teebot\Api\Entity;
4
5
class Contact extends AbstractEntity
6
{
7
    const ENTITY_TYPE = 'Contact';
8
9
    protected $phone_number;
10
11
    protected $first_name;
12
13
    protected $last_name;
14
15
    protected $user_id;
16
17
    /**
18
     * @return mixed
19
     */
20
    public function getPhoneNumber()
21
    {
22
        return $this->phone_number;
23
    }
24
25
    /**
26
     * @return mixed
27
     */
28
    public function getFirstName()
29
    {
30
        return $this->first_name;
31
    }
32
33
    /**
34
     * @return mixed
35
     */
36
    public function getLastName()
37
    {
38
        return $this->last_name;
39
    }
40
41
    /**
42
     * @return mixed
43
     */
44
    public function getUserId()
45
    {
46
        return $this->user_id;
47
    }
48
}
49