From b4918e8f54831b19289c7862f9d89436507fdc82 Mon Sep 17 00:00:00 2001 From: erkurn Date: Wed, 20 Jul 2022 05:31:47 +0000 Subject: [PATCH] Fix styling --- src/FilamentAddressPickerServiceProvider.php | 2 +- src/Forms/Components/AddressPicker.php | 4 +++- tests/TestCase.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/FilamentAddressPickerServiceProvider.php b/src/FilamentAddressPickerServiceProvider.php index 8bee67d..1a6d40a 100644 --- a/src/FilamentAddressPickerServiceProvider.php +++ b/src/FilamentAddressPickerServiceProvider.php @@ -8,7 +8,7 @@ class FilamentAddressPickerServiceProvider extends PluginServiceProvider { protected array $beforeCoreScripts = [ - 'filament-address-picker-scripts' => __DIR__ . '/../resources/dist/js/filament-address-picker.js' + 'filament-address-picker-scripts' => __DIR__.'/../resources/dist/js/filament-address-picker.js', ]; public function configurePackage(Package $package): void diff --git a/src/Forms/Components/AddressPicker.php b/src/Forms/Components/AddressPicker.php index 0b2978b..a7d77d7 100644 --- a/src/Forms/Components/AddressPicker.php +++ b/src/Forms/Components/AddressPicker.php @@ -1,4 +1,5 @@ api_key; } @@ -48,6 +49,7 @@ public function getDebug() public function showValue($value = true) { $this->debug = $value; + return $this; } } diff --git a/tests/TestCase.php b/tests/TestCase.php index cffed76..2278632 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -2,9 +2,9 @@ namespace Erkurn\FilamentAddressPicker\Tests; +use Erkurn\FilamentAddressPicker\FilamentAddressPickerServiceProvider; use Illuminate\Database\Eloquent\Factories\Factory; use Orchestra\Testbench\TestCase as Orchestra; -use Erkurn\FilamentAddressPicker\FilamentAddressPickerServiceProvider; class TestCase extends Orchestra {