for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Germania\GeoData;
abstract class GeoDataAbstract implements GeoDataInterface
{
/**
* @var float
*/
public $latitude;
public $longitude;
* @inheritDoc
public function getLatitude() : ?float
return $this->latitude;
}
public function getLongitude() : ?float
return $this->longitude;
public function getLatLon() : array
return array(
$this->getLatitude(),
$this->getLongitude()
);