Skip to content

Commit

Permalink
UHF-9234: use isset in case the variable is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
rpnykanen committed Jan 24, 2024
1 parent 7851fba commit 7940c00
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ protected static function fetchAddressCoordinates(string $address): array {
break;
}

if (!$addressSearchResult) {
if (!isset($addressSearchResult)) {
return [];
}

Expand Down

0 comments on commit 7940c00

Please sign in to comment.