Skip to content

Commit b3b234c

Browse files
cheesegritsgithub-actions[bot]
authored andcommitted
chore: fix code style
1 parent 56a1aba commit b3b234c

File tree

12 files changed

+27
-27
lines changed

12 files changed

+27
-27
lines changed

src/Fields/Geocomplete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ public function getGeocompleteConfig(): string
421421
'minChars' => $this->getMinChars(),
422422
]);
423423

424-
//ray($config);
424+
// ray($config);
425425

426426
return $config;
427427
}

src/Fields/Map.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -518,14 +518,14 @@ public function getGeoJsonProperty(): ?string
518518
return $this->evaluate($this->geoJsonProperty);
519519
}
520520

521-
//public function handleGeoJson(array $features): void
522-
//{
521+
// public function handleGeoJson(array $features): void
522+
// {
523523
// $geoJsonHandler = $this->getGeoJsonHandler();
524524
//
525525
// $this->evaluate($geoJsonHandler, [
526526
// 'features' => $features,
527527
// ]);
528-
//}
528+
// }
529529

530530
/**
531531
* Set the default location for new maps, accepts an array of either [$lat, $lng] or ['lat' => $lat, 'lng' => $lng],
@@ -827,7 +827,7 @@ public function getMapConfig(): string
827827
'mapType' => $this->getType(),
828828
]);
829829

830-
//ray($config);
830+
// ray($config);
831831

832832
return json_encode($config);
833833
}

src/Fields/WidgetMap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ public function getMapConfig(): string
279279
])
280280
);
281281

282-
//ray($config);
282+
// ray($config);
283283

284284
return $config;
285285
}

src/Filters/RadiusFilter.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,17 +229,17 @@ private function hasSection(): bool
229229
return ! empty($this->getSection());
230230
}
231231

232-
//public function relation(bool|Closure $relationship = true): static
233-
//{
232+
// public function relation(bool|Closure $relationship = true): static
233+
// {
234234
// $this->relationship = $relationship;
235235
//
236236
// return $this;
237-
//}
237+
// }
238238
//
239-
//public function getRelationship(): string
240-
//{
239+
// public function getRelationship(): string
240+
// {
241241
// return $this->evaluate($this->relationship);
242-
//}
242+
// }
243243

244244
public function isRelationship(): bool
245245
{

tests/src/Columns/Fixtures/CustomerTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ protected function getTableActions(): array
5151
protected function getTableBulkActions(): array
5252
{
5353
return [
54-
//BulkActionGroup::make([
54+
// BulkActionGroup::make([
5555
// Tables\Actions\DeleteBulkAction::make(),
56-
//]),
56+
// ]),
5757
];
5858
}
5959

tests/src/Columns/Fixtures/LocationTable.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ protected function getTableActions(): array
6363
protected function getTableBulkActions(): array
6464
{
6565
return [
66-
//BulkActionGroup::make([
66+
// BulkActionGroup::make([
6767
// Tables\Actions\DeleteBulkAction::make(),
68-
//]),
68+
// ]),
6969
];
7070
}
7171

tests/src/Fields/FieldsServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Cheesegrits\FilamentGoogleMaps\Tests\Fields\Fixtures\Resources\LocationResource;
66
use Filament\FilamentServiceProvider;
77

8-
//use Filament\Tests\Admin\Fixtures\Resources\UserResource;
8+
// use Filament\Tests\Admin\Fixtures\Resources\UserResource;
99

1010
class FieldsServiceProvider extends FilamentServiceProvider
1111
{

tests/src/Fields/FieldsTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010

1111
uses(TestCase::class);
1212

13-
//it('can create form with geocode field', function () {
13+
// it('can create form with geocode field', function () {
1414
// livewire(TestComponentWithGeocomplete::class)
1515
// ->assertFormExists();
16-
//});
16+
// });
1717

1818
it('can load a record with geocodeOnLoad', function () {
1919
$location = Location::factory()->withRealAddressAndLatLng()->create();

tests/src/Fields/Fixtures/Resources/GeocompleteResource.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Cheesegrits\FilamentGoogleMaps\Tests\Fields\Fixtures\Resources;
44

55
use Cheesegrits\FilamentGoogleMaps\Columns\MapColumn;
6-
//use App\Filament\Resources\LocationResource\RelationManagers;
6+
// use App\Filament\Resources\LocationResource\RelationManagers;
77
use Cheesegrits\FilamentGoogleMaps\Fields\Geocomplete;
88
use Cheesegrits\FilamentGoogleMaps\Fields\Map;
99
use Cheesegrits\FilamentGoogleMaps\Filters\RadiusFilter;
@@ -60,8 +60,8 @@ public static function form(Form $form): Form
6060
// ->layers([
6161
// 'https://googlearchive.github.io/js-v2-samples/ggeoxml/cta.kml',
6262
// ])
63-
//// ->autocomplete('formatted_address')
64-
//// ->autocompleteReverse()
63+
// // ->autocomplete('formatted_address')
64+
// // ->autocompleteReverse()
6565
// ->reverseGeocode([
6666
// 'city' => '%L',
6767
// 'zip' => '%z',

tests/src/Fields/Fixtures/Resources/LocationResource.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Cheesegrits\FilamentGoogleMaps\Tests\Fields\Fixtures\Resources;
44

55
use Cheesegrits\FilamentGoogleMaps\Columns\MapColumn;
6-
//use App\Filament\Resources\LocationResource\RelationManagers;
6+
// use App\Filament\Resources\LocationResource\RelationManagers;
77
use Cheesegrits\FilamentGoogleMaps\Fields\Geocomplete;
88
use Cheesegrits\FilamentGoogleMaps\Fields\Map;
99
use Cheesegrits\FilamentGoogleMaps\Filters\RadiusFilter;
@@ -65,8 +65,8 @@ public static function form(Form $form): Form
6565
// ->layers([
6666
// 'https://googlearchive.github.io/js-v2-samples/ggeoxml/cta.kml',
6767
// ])
68-
//// ->autocomplete('formatted_address')
69-
//// ->autocompleteReverse()
68+
// // ->autocomplete('formatted_address')
69+
// // ->autocompleteReverse()
7070
// ->reverseGeocode([
7171
// 'city' => '%L',
7272
// 'zip' => '%z',

0 commit comments

Comments
 (0)