| Total Complexity | 3 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 4 | class Location | ||
| 5 | { | ||
| 6 | /** @var float */ | ||
| 7 | private $latitude; | ||
| 1 ignored issue–
                            show | |||
| 8 | |||
| 9 | /** @var float */ | ||
| 10 | private $longitude; | ||
| 11 | |||
| 12 | /** | ||
| 13 | * Location constructor. | ||
| 14 | * @param float $latitude | ||
| 15 | * @param float $longitude | ||
| 16 | */ | ||
| 17 | 2 | public function __construct(float $latitude, float $longitude) | |
| 18 |     { | ||
| 19 | 2 | $this->latitude = $latitude; | |
| 20 | 2 | $this->longitude = $longitude; | |
| 21 | 2 | } | |
| 22 | |||
| 23 | /** | ||
| 24 | * @return float | ||
| 25 | */ | ||
| 26 | 2 | public function getLatitude(): float | |
| 27 |     { | ||
| 28 | 2 | return $this->latitude; | |
| 29 | } | ||
| 30 | |||
| 31 | /** | ||
| 32 | * @return float | ||
| 33 | */ | ||
| 34 | 2 | public function getLongitude(): float | |
| 37 | } | ||
| 38 | } | ||
| 39 |