From 69dc4fa49f4ef2cf459ac224863f0c48c702962a Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Thu, 21 Jul 2022 14:50:30 +0100 Subject: [PATCH] Add comment --- src/Trait/MappableTrait.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Trait/MappableTrait.php b/src/Trait/MappableTrait.php index 108745b..6569374 100644 --- a/src/Trait/MappableTrait.php +++ b/src/Trait/MappableTrait.php @@ -41,6 +41,11 @@ trait MappableTrait return $this; } + /** + * Returns true if both latitude and longitude have been set + * + * @return bool + */ public function isGeocoded(): bool { return null !== $this->getLatitude() && null !== $this->getLongitude();