We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0273d4 commit d8d5fb0Copy full SHA for d8d5fb0
src/Repositories/LocationRepository.php
@@ -48,12 +48,12 @@ public static function getLocationFrom(string $ip): array
48
->first()) {
49
$clickLocation = Location::get($ip);
50
51
- if (!$clickLocation) {
+ if (! $clickLocation) {
52
return LocationRepository::locationUnknown($ip);
53
}
54
55
- $clickLocation->longitude = (float)$clickLocation->longitude;
56
- $clickLocation->latitude = (float)$clickLocation->latitude;
+ $clickLocation->longitude = (float) $clickLocation->longitude;
+ $clickLocation->latitude = (float) $clickLocation->latitude;
57
58
unset($clickLocation->driver);
59
0 commit comments