Skip to content

Commit d8d5fb0

Browse files
yordadevgithub-actions[bot]
authored andcommitted
Fix styling
1 parent b0273d4 commit d8d5fb0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Repositories/LocationRepository.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ public static function getLocationFrom(string $ip): array
4848
->first()) {
4949
$clickLocation = Location::get($ip);
5050

51-
if (!$clickLocation) {
51+
if (! $clickLocation) {
5252
return LocationRepository::locationUnknown($ip);
5353
}
5454

55-
$clickLocation->longitude = (float)$clickLocation->longitude;
56-
$clickLocation->latitude = (float)$clickLocation->latitude;
55+
$clickLocation->longitude = (float) $clickLocation->longitude;
56+
$clickLocation->latitude = (float) $clickLocation->latitude;
5757

5858
unset($clickLocation->driver);
5959
}

0 commit comments

Comments
 (0)