diff --git a/src/RadioDeckServiceProvider.php b/src/RadioDeckServiceProvider.php index cd02766..10b292f 100644 --- a/src/RadioDeckServiceProvider.php +++ b/src/RadioDeckServiceProvider.php @@ -57,7 +57,7 @@ public function packageBooted(): void FilamentIcon::register($this->getIcons()); // Testing - Testable::mixin(new TestsRadioDeck()); + Testable::mixin(new TestsRadioDeck); } protected function getAssetPackageName(): ?string diff --git a/src/Traits/HasExtraCardsAttributes.php b/src/Traits/HasExtraCardsAttributes.php index cf22655..d7fca83 100644 --- a/src/Traits/HasExtraCardsAttributes.php +++ b/src/Traits/HasExtraCardsAttributes.php @@ -31,7 +31,7 @@ public function extraCardsAttributes(array|Closure $attributes, bool $merge = fa */ public function getExtraCardsAttributes(): array { - $temporaryAttributeBag = new ComponentAttributeBag(); + $temporaryAttributeBag = new ComponentAttributeBag; foreach ($this->extraCardsAttributes as $extraCardsAttributes) { $temporaryAttributeBag = $temporaryAttributeBag->merge($this->evaluate($extraCardsAttributes)); diff --git a/src/Traits/HasExtraDescriptionsAttributes.php b/src/Traits/HasExtraDescriptionsAttributes.php index 3f115bd..64c30f5 100644 --- a/src/Traits/HasExtraDescriptionsAttributes.php +++ b/src/Traits/HasExtraDescriptionsAttributes.php @@ -31,7 +31,7 @@ public function extraDescriptionsAttributes(array|Closure $attributes, bool $mer */ public function getExtraDescriptionsAttributes(): array { - $temporaryAttributeBag = new ComponentAttributeBag(); + $temporaryAttributeBag = new ComponentAttributeBag; foreach ($this->extraDescriptionsAttributes as $extraDescriptionsAttributes) { $temporaryAttributeBag = $temporaryAttributeBag->merge($this->evaluate($extraDescriptionsAttributes)); diff --git a/src/Traits/HasExtraOptionsAttributes.php b/src/Traits/HasExtraOptionsAttributes.php index 3cfebe7..353b001 100644 --- a/src/Traits/HasExtraOptionsAttributes.php +++ b/src/Traits/HasExtraOptionsAttributes.php @@ -31,7 +31,7 @@ public function extraOptionsAttributes(array|Closure $attributes, bool $merge = */ public function getExtraOptionsAttributes(): array { - $temporaryAttributeBag = new ComponentAttributeBag(); + $temporaryAttributeBag = new ComponentAttributeBag; foreach ($this->extraOptionsAttributes as $extraOptionsAttributes) { $temporaryAttributeBag = $temporaryAttributeBag->merge($this->evaluate($extraOptionsAttributes));