Skip to content

Commit

Permalink
chore: fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits authored and github-actions[bot] committed Sep 9, 2023
1 parent d1cb925 commit a2d39e4
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Fields/Geocomplete.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
use Filament\Forms\Components\Field;
use Filament\Support\Concerns\HasExtraAlpineAttributes;

class Geocomplete extends Field implements Contracts\HasAffixActions, Contracts\CanBeLengthConstrained
class Geocomplete extends Field implements Contracts\CanBeLengthConstrained, Contracts\HasAffixActions
{
use Concerns\CanBeAutocapitalized;
use Concerns\CanBeAutocompleted;
use Concerns\CanBeLengthConstrained;
use Concerns\CanBeReadOnly;
use Concerns\HasAffixes;
use HasExtraAlpineAttributes;
use Concerns\HasExtraInputAttributes;
use Concerns\HasInputMode;
use Concerns\HasPlaceholder;
use HasExtraAlpineAttributes;

protected string $view = 'filament-google-maps::fields.filament-google-geocomplete';

Expand Down
4 changes: 2 additions & 2 deletions src/Widgets/MapWidget.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function hasJs(): bool

public function jsUrl(): string
{
$manifest = json_decode(file_get_contents(__DIR__ . '/../../dist/mix-manifest.json'), true);
$manifest = json_decode(file_get_contents(__DIR__.'/../../dist/mix-manifest.json'), true);

return url($manifest['/cheesegrits/filament-google-maps/filament-google-maps-widget.js']);
}
Expand All @@ -209,7 +209,7 @@ public function hasCss(): bool

public function cssUrl(): string
{
$manifest = json_decode(file_get_contents(__DIR__ . '/../../dist/mix-manifest.json'), true);
$manifest = json_decode(file_get_contents(__DIR__.'/../../dist/mix-manifest.json'), true);

return url($manifest['/cheesegrits/filament-google-maps/filament-google-maps-widget.css']);
}
Expand Down
1 change: 1 addition & 0 deletions tests/src/Columns/ColumnTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use Cheesegrits\FilamentGoogleMaps\Tests\Columns\TestCase;
use Cheesegrits\FilamentGoogleMaps\Tests\Models\Location;
use Illuminate\Support\Facades\Cache;

use function Pest\Livewire\livewire;

uses(TestCase::class);
Expand Down
1 change: 1 addition & 0 deletions tests/src/Columns/FilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use Cheesegrits\FilamentGoogleMaps\Tests\Columns\Fixtures\LocationTable;
use Cheesegrits\FilamentGoogleMaps\Tests\Columns\TestCase;
use Cheesegrits\FilamentGoogleMaps\Tests\Models\Location;

use function Pest\Livewire\livewire;

uses(TestCase::class);
Expand Down
1 change: 1 addition & 0 deletions tests/src/Commands/BatchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
use Cheesegrits\FilamentGoogleMaps\Helpers\Geocoder;
use Cheesegrits\FilamentGoogleMaps\Tests\Commands\TestCase;
use Cheesegrits\FilamentGoogleMaps\Tests\Models\Location;

use function PHPUnit\Framework\assertCount;
use function PHPUnit\Framework\assertEquals;

Expand Down
1 change: 1 addition & 0 deletions tests/src/Fields/FieldsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
use Cheesegrits\FilamentGoogleMaps\Tests\Models\Location;
use Cheesegrits\FilamentGoogleMaps\Tests\TestCase;
use Illuminate\Contracts\View\View;

use function Pest\Livewire\livewire;

uses(TestCase::class);
Expand Down
1 change: 1 addition & 0 deletions tests/src/Fields/FormsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Cheesegrits\FilamentGoogleMaps\Tests\Fields\TestCase;
use Cheesegrits\FilamentGoogleMaps\Tests\Models\Location;
use Filament\Facades\Filament;

use function Pest\Livewire\livewire;

uses(TestCase::class);
Expand Down

0 comments on commit a2d39e4

Please sign in to comment.