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.
Completed
Push — master ( 682f51...d8d546 )
by Stan
03:16
created

InlineQueryResultContact::setFirstName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Teebot\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