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.

InputContactMessageContent   A
last analyzed

Complexity

Total Complexity 6

Size/Duplication

Total Lines 74
Duplicated Lines 0 %

Importance

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

6 Methods

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