diff --git a/src/FeatureFlagPlugin.php b/src/FeatureFlagPlugin.php index d34f932..4427122 100755 --- a/src/FeatureFlagPlugin.php +++ b/src/FeatureFlagPlugin.php @@ -20,9 +20,7 @@ public function register(Panel $panel): void $panel->resources(config('filament-feature-flags.resources')); } - public function boot(Panel $panel): void - { - } + public function boot(Panel $panel): void {} public static function make(): static { diff --git a/src/Resources/ManageFeatureSegments.php b/src/Resources/ManageFeatureSegments.php index f07c366..583d6b1 100644 --- a/src/Resources/ManageFeatureSegments.php +++ b/src/Resources/ManageFeatureSegments.php @@ -8,7 +8,6 @@ use Filament\Notifications\Notification; use Filament\Resources\Pages\ManageRecords; use Laravel\Pennant\Feature; -use Saade\FilamentLaravelLog\FilamentLaravelLogPlugin; use Stephenjude\FilamentFeatureFlag\Events\FeatureActivatedForAll; use Stephenjude\FilamentFeatureFlag\Events\FeatureDeactivatedForAll; use Stephenjude\FilamentFeatureFlag\Events\FeatureSegmentCreated; diff --git a/src/Traits/HasAuthorization.php b/src/Traits/HasAuthorization.php index b02e4a7..d1ae9ea 100755 --- a/src/Traits/HasAuthorization.php +++ b/src/Traits/HasAuthorization.php @@ -9,9 +9,9 @@ trait HasAuthorization { use EvaluatesClosures; - public Closure | bool $authorized = true; + public Closure|bool $authorized = true; - public function authorize(Closure | bool $condition = true): static + public function authorize(Closure|bool $condition = true): static { $this->authorized = $condition; diff --git a/tests/FilamentFeatureFlagPluginTest.php b/tests/FilamentFeatureFlagPluginTest.php index aa7207f..a4bbafe 100644 --- a/tests/FilamentFeatureFlagPluginTest.php +++ b/tests/FilamentFeatureFlagPluginTest.php @@ -4,7 +4,7 @@ use Stephenjude\FilamentFeatureFlag\Resources\FeatureSegmentResource; use Stephenjude\FilamentFeatureFlag\Resources\ManageFeatureSegments; -use function Pest\Laravel\{get}; +use function Pest\Laravel\get; use function Pest\Livewire\livewire; it('can render page', function () {