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

InputVenueMessageContent   A

Complexity

Total Complexity 10

Size/Duplication

Total Lines 122
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 10
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 122
rs 10

10 Methods

Rating   Name   Duplication   Size   Complexity  
A getLongitude() 0 4 1
A setLongitude() 0 6 1
A getLatitude() 0 4 1
A setLatitude() 0 6 1
A getTitle() 0 4 1
A setTitle() 0 6 1
A getAddress() 0 4 1
A setAddress() 0 6 1
A getFoursquareId() 0 4 1
A setFoursquareId() 0 6 1
1
<?php
2
3
namespace Teebot\Entity\Inline\Input;
4
5
class InputVenueMessageContent extends InputMessageContent
6
{
7
    const ENTITY_TYPE = 'InputVenueMessageContent';
8
9
    protected $latitude;
10
11
    protected $longitude;
12
13
    protected $title;
14
15
    protected $address;
16
17
    protected $foursquare_id;
18
19
    protected $supportedProperties = [
20
        'latitude'      => true,
21
        'longitude'     => true,
22
        'title'         => true,
23
        'address'       => true,
24
        'foursquare_id' => false
25
    ];
26
27
    /**
28
     * @return mixed
29
     */
30
    public function getLongitude()
31
    {
32
        return $this->longitude;
33
    }
34
35
    /**
36
     * @param mixed $longitude
37
     *
38
     * @return $this
39
     */
40
    public function setLongitude($longitude)
41
    {
42
        $this->longitude = $longitude;
43
44
        return $this;
45
    }
46
47
    /**
48
     * @return mixed
49
     */
50
    public function getLatitude()
51
    {
52
        return $this->latitude;
53
    }
54
55
    /**
56
     * @param mixed $latitude
57
     *
58
     * @return $this
59
     */
60
    public function setLatitude($latitude)
61
    {
62
        $this->latitude = $latitude;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @return mixed
69
     */
70
    public function getTitle()
71
    {
72
        return $this->title;
73
    }
74
75
    /**
76
     * @param mixed $title
77
     *
78
     * @return $this
79
     */
80
    public function setTitle($title)
81
    {
82
        $this->title = $title;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @return mixed
89
     */
90
    public function getAddress()
91
    {
92
        return $this->address;
93
    }
94
95
    /**
96
     * @param mixed $address
97
     *
98
     * @return $this
99
     */
100
    public function setAddress($address)
101
    {
102
        $this->address = $address;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @return mixed
109
     */
110
    public function getFoursquareId()
111
    {
112
        return $this->foursquare_id;
113
    }
114
115
    /**
116
     * @param mixed $foursquare_id
117
     *
118
     * @return $this
119
     */
120
    public function setFoursquareId($foursquare_id)
121
    {
122
        $this->foursquare_id = $foursquare_id;
123
124
        return $this;
125
    }
126
}
127