From 827d528c64adca7cd3975895291debff1d4dee05 Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Wed, 20 Jul 2022 21:49:09 +0100 Subject: [PATCH] Rename class --- src/Data/LatLon.php | 25 +++++++++++++++++++++++++ src/Entity/GeocodeData.php | 32 -------------------------------- 2 files changed, 25 insertions(+), 32 deletions(-) create mode 100644 src/Data/LatLon.php delete mode 100644 src/Entity/GeocodeData.php diff --git a/src/Data/LatLon.php b/src/Data/LatLon.php new file mode 100644 index 0000000..f842d5e --- /dev/null +++ b/src/Data/LatLon.php @@ -0,0 +1,25 @@ +getLatitude(); + } + + public function getLongitude(): float + { + return $this->getLongitude(); + } +} diff --git a/src/Entity/GeocodeData.php b/src/Entity/GeocodeData.php deleted file mode 100644 index ab6bb6f..0000000 --- a/src/Entity/GeocodeData.php +++ /dev/null @@ -1,32 +0,0 @@ -latitude = $latitude; - } - - public function setLongitude(float $longitude): void - { - $this->longitude = $longitude; - } - - public function getLatitude(): float - { - return $this->getLatitude(); - } - - public function getLongitude(): float - { - return $this->getLongitude(); - } -}