From 545e03af5002597a1ae0eaba18d38854ee0fe13b Mon Sep 17 00:00:00 2001 From: Brabli <67018167+Brabli@users.noreply.github.com> Date: Thu, 21 Jul 2022 14:49:20 +0100 Subject: [PATCH] Make test pass --- src/Trait/MappableTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Trait/MappableTrait.php b/src/Trait/MappableTrait.php index 4353f47..108745b 100644 --- a/src/Trait/MappableTrait.php +++ b/src/Trait/MappableTrait.php @@ -43,6 +43,6 @@ trait MappableTrait public function isGeocoded(): bool { - return $this->getLatitude() && $this->getLongitude(); + return null !== $this->getLatitude() && null !== $this->getLongitude(); } }