From d6ce0c7df4bcd27479fc60dcac21b2ce79f1e8b2 Mon Sep 17 00:00:00 2001 From: erkurn Date: Tue, 27 Sep 2022 09:06:07 +0000 Subject: [PATCH] Fix styling --- src/Forms/Components/AddressPicker.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Forms/Components/AddressPicker.php b/src/Forms/Components/AddressPicker.php index ce836b9..c894e77 100644 --- a/src/Forms/Components/AddressPicker.php +++ b/src/Forms/Components/AddressPicker.php @@ -7,7 +7,6 @@ use Geocoder\Provider\GoogleMaps\GoogleMaps; use Geocoder\Query\ReverseQuery; use GuzzleHttp\Client; -use Illuminate\Support\Arr; class AddressPicker extends Field { @@ -108,8 +107,8 @@ public function getState() } else { if (count(explode(',', $state)) > 0) { return [ - 'lat' => floatval(explode(',', $state)[0]), - 'lng' => floatval(explode(',', $state)[1]), + 'lat' => floatval(explode(',', $state)[0]), + 'lng' => floatval(explode(',', $state)[1]), ]; }