Skip to content

Commit 28e68dd

Browse files
cheesegritsgithub-actions[bot]
authored andcommitted
chore: fix code style
1 parent 03425c0 commit 28e68dd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/Fields/Geocomplete.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function getFilterName(): string|null
7070
$name = $this->evaluate($this->filterName);
7171

7272
if ($name) {
73-
return 'tableFilters.' . $name;
73+
return 'tableFilters.'.$name;
7474
}
7575

7676
return null;
@@ -104,7 +104,7 @@ public function getDebug(): bool
104104
* If set to true, will update lat and lng fields on the form when a place is selected from the dropdown. Requires
105105
* the getLatLngAttributes() method on the model, as per the filament-google-maps:model-code Artisan command.
106106
*
107-
* @param Closure|bool $debug
107+
* @param Closure|bool $debug
108108
* @return $this
109109
*/
110110
public function updateLatLng(Closure|bool $updateLatLng = true): static
@@ -142,7 +142,7 @@ public function getUpdateLatLngFields(): array
142142
/**
143143
* Optionally set this to true, if you want the geocomplete to update lat/lng fields on your form
144144
*
145-
* @param Closure|string $name
145+
* @param Closure|string $name
146146
* @return $this
147147
*/
148148
public function isLocation(Closure|bool $isLocation = true): static
@@ -240,7 +240,7 @@ public function reverseGeocode(Closure|array $reverseGeocode): static
240240

241241
public function getReverseGeocode(): array
242242
{
243-
$fields = $this->evaluate($this->reverseGeocode);
243+
$fields = $this->evaluate($this->reverseGeocode);
244244
$statePaths = [];
245245

246246
foreach ($fields as $field => $format) {
@@ -276,7 +276,7 @@ public function reverseGeocodeUpdated(array $results): static
276276
{
277277
$callback = $this->reverseGeocodeUsing;
278278

279-
if (!$callback) {
279+
if (! $callback) {
280280
return $this;
281281
}
282282

@@ -360,7 +360,7 @@ public function getGeolocateAction(): ?Action
360360
return Action::make('geolocate')
361361
->iconButton()
362362
->icon($this->getGeolocateIcon())
363-
->extraAttributes(['id' => $this->getId() . '-geolocate']);
363+
->extraAttributes(['id' => $this->getId().'-geolocate']);
364364
}
365365

366366
return null;
@@ -375,7 +375,7 @@ protected function setUp(): void
375375
if ($component->getGeocodeOnLoad()) {
376376
$state = static::getLocationState($state);
377377

378-
if (!MapsHelper::isLocationEmpty($state)) {
378+
if (! MapsHelper::isLocationEmpty($state)) {
379379
$state = MapsHelper::reverseGeocode($state);
380380
} else {
381381
$state = '';
@@ -384,7 +384,7 @@ protected function setUp(): void
384384
$state = '';
385385
}
386386

387-
$component->state((string)$state);
387+
$component->state((string) $state);
388388
}
389389
});
390390

0 commit comments

Comments
 (0)