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 ( f85b82...dc3bec )
by Christian
02:12
created

GeoLocation::getLatitude()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
/*
6
 * (c) Christian Gripp <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Core23\LastFm\Model;
13
14
final class GeoLocation
15
{
16
    /**
17
     * @var float
18
     */
19
    private $longitude;
20
21
    /**
22
     * @var float
23
     */
24
    private $latitude;
25
26
    /**
27
     * @param float $longitude
28
     * @param float $latitude
29
     */
30
    public function __construct(float $longitude, float $latitude)
31
    {
32
        $this->longitude = $longitude;
33
        $this->latitude  = $latitude;
34
    }
35
36
    /**
37
     * @return float
38
     */
39
    public function getLongitude(): float
40
    {
41
        return $this->longitude;
42
    }
43
44
    /**
45
     * @return float
46
     */
47
    public function getLatitude(): float
48
    {
49
        return $this->latitude;
50
    }
51
}
52