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]), ]; }