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.

InlineQueryResultContact   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 68
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 68
rs 10
c 0
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getLastName() 0 3 1
A getFirstName() 0 3 1
A setFirstName() 0 5 1
A setLastName() 0 5 1
A getPhoneNumber() 0 3 1
A setPhoneNumber() 0 5 1
1
<?php
2
3
namespace Teebot\Api\Entity\Inline\Result;
4
5
class InlineQueryResultContact extends InlineQueryResultAbstract
6
{
7
    const ENTITY_TYPE = 'InlineQueryResultContact';
8
9
    protected $phone_number;
10
11
    protected $first_name;
12
13
    protected $last_name;
14
15
    /**
16
     * @return mixed
17
     */
18
    public function getPhoneNumber()
19
    {
20
        return $this->phone_number;
21
    }
22
23
    /**
24
     * @param mixed $phone_number
25
     *
26
     * @return $this
27
     */
28
    public function setPhoneNumber($phone_number)
29
    {
30
        $this->phone_number = $phone_number;
31
32
        return $this;
33
    }
34
35
    /**
36
     * @return mixed
37
     */
38
    public function getFirstName()
39
    {
40
        return $this->first_name;
41
    }
42
43
    /**
44
     * @param mixed $first_name
45
     *
46
     * @return $this
47
     */
48
    public function setFirstName($first_name)
49
    {
50
        $this->first_name = $first_name;
51
52
        return $this;
53
    }
54
55
    /**
56
     * @return mixed
57
     */
58
    public function getLastName()
59
    {
60
        return $this->last_name;
61
    }
62
63
    /**
64
     * @param mixed $last_name
65
     *
66
     * @return $this
67
     */
68
    public function setLastName($last_name)
69
    {
70
        $this->last_name = $last_name;
71
72
        return $this;
73
    }
74
}
75