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

InputLocationMessageContent::setLatitude()   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\Input;
4
5
class InputLocationMessageContent extends InputMessageContent
6
{
7
    const ENTITY_TYPE = 'InputLocationMessageContent';
8
9
    protected $latitude;
10
11
    protected $longitude;
12
13
    protected $supportedProperties = [
14
        'latitude'  => true,
15
        'longitude' => true
16
    ];
17
18
    /**
19
     * @return mixed
20
     */
21
    public function getLongitude()
22
    {
23
        return $this->longitude;
24
    }
25
26
    /**
27
     * @param mixed $longitude
28
     *
29
     * @return $this
30
     */
31
    public function setLongitude($longitude)
32
    {
33
        $this->longitude = $longitude;
34
35
        return $this;
36
    }
37
38
    /**
39
     * @return mixed
40
     */
41
    public function getLatitude()
42
    {
43
        return $this->latitude;
44
    }
45
46
    /**
47
     * @param mixed $latitude
48
     *
49
     * @return $this
50
     */
51
    public function setLatitude($latitude)
52
    {
53
        $this->latitude = $latitude;
54
55
        return $this;
56
    }
57
}
58