Skip to content

Commit

Permalink
Merge branch 'v3-dev-upgrades-and-improvements' of https://github.com…
Browse files Browse the repository at this point in the history
…/YorCreative/Laravel-UrlShortener into v3-dev-upgrades-and-improvements
  • Loading branch information
yordadev committed Oct 8, 2024
2 parents 19ce55b + d8d5fb0 commit 0c2d4d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Repositories/LocationRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public static function getLocationFrom(string $ip): array
return LocationRepository::locationUnknown($ip);
}

$clickLocation->longitude = (float)$clickLocation->longitude;
$clickLocation->latitude = (float)$clickLocation->latitude;
$clickLocation->longitude = (float) $clickLocation->longitude;
$clickLocation->latitude = (float) $clickLocation->latitude;

unset($clickLocation->driver);
}
Expand Down

0 comments on commit 0c2d4d9

Please sign in to comment.