Skip to content

Commit 41a1934

Browse files
cheesegritsgithub-actions[bot]
authored andcommitted
chore: fix code style
1 parent 8f6f811 commit 41a1934

File tree

5 files changed

+16
-17
lines changed

5 files changed

+16
-17
lines changed

src/Actions/GoToAction.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ protected function setUp(): void
3838

3939
$this->icon('heroicon-s-map');
4040

41-
// $this->extraAttributes(function (Model $record) {
42-
// $latLngFields = $record::getLatLngAttributes();
43-
//
44-
// return [
45-
// 'x-on:click' => new HtmlString(
46-
// sprintf("\$dispatch('setmapcenter', {lat: %f, lng: %f, zoom: %d})",
47-
// round(floatval($record->{$latLngFields['lat']}), 8),
48-
// round(floatval($record->{$latLngFields['lng']}), 8),
49-
// $this->getZoom()
50-
// )
51-
// ),
52-
// ];
53-
// });
41+
// $this->extraAttributes(function (Model $record) {
42+
// $latLngFields = $record::getLatLngAttributes();
43+
//
44+
// return [
45+
// 'x-on:click' => new HtmlString(
46+
// sprintf("\$dispatch('setmapcenter', {lat: %f, lng: %f, zoom: %d})",
47+
// round(floatval($record->{$latLngFields['lat']}), 8),
48+
// round(floatval($record->{$latLngFields['lng']}), 8),
49+
// $this->getZoom()
50+
// )
51+
// ),
52+
// ];
53+
// });
5454
}
5555

5656
public function getLivewireMountAction(): ?string

tests/src/Fields/FieldsServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use Cheesegrits\FilamentGoogleMaps\Tests\Fields\Fixtures\Resources\LocationResource;
66
use Filament\FilamentServiceProvider;
7-
use Filament\PluginServiceProvider;
87

98
//use Filament\Tests\Admin\Fixtures\Resources\UserResource;
109

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
use Filament\Forms;
1313
use Filament\Forms\Form;
1414
use Filament\Resources\Resource;
15-
use Filament\Tables\Table;
1615
use Filament\Tables;
16+
use Filament\Tables\Table;
1717

1818
class GeocompleteResource extends Resource
1919
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
use Filament\Forms;
1313
use Filament\Forms\Form;
1414
use Filament\Resources\Resource;
15-
use Filament\Tables\Table;
1615
use Filament\Tables;
16+
use Filament\Tables\Table;
1717

1818
class LocationResource extends Resource
1919
{

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
use Filament\Forms;
1212
use Filament\Forms\Form;
1313
use Filament\Resources\Resource;
14-
use Filament\Tables\Table;
1514
use Filament\Tables;
15+
use Filament\Tables\Table;
1616

1717
class MapResource extends Resource
1818
{

0 commit comments

Comments
 (0)