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();