From 8fb635f92a5c680fc0b8b189218b110e36b6e3ab Mon Sep 17 00:00:00 2001 From: austincarpenter Date: Tue, 19 Nov 2024 16:09:18 +1000 Subject: [PATCH] Import `Closure` --- src/Traits/HasDirection.php | 2 ++ src/Traits/HasExtraCardsAttributes.php | 1 + src/Traits/HasExtraDescriptionsAttributes.php | 1 + src/Traits/HasExtraOptionsAttributes.php | 1 + src/Traits/HasGap.php | 2 ++ src/Traits/HasIconSizes.php | 2 ++ src/Traits/HasPadding.php | 2 ++ 7 files changed, 11 insertions(+) diff --git a/src/Traits/HasDirection.php b/src/Traits/HasDirection.php index 679c9c4..860672b 100644 --- a/src/Traits/HasDirection.php +++ b/src/Traits/HasDirection.php @@ -2,6 +2,8 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; + trait HasDirection { protected string|Closure|null $direction = null; diff --git a/src/Traits/HasExtraCardsAttributes.php b/src/Traits/HasExtraCardsAttributes.php index 5b13eb1..cf22655 100644 --- a/src/Traits/HasExtraCardsAttributes.php +++ b/src/Traits/HasExtraCardsAttributes.php @@ -2,6 +2,7 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; use Illuminate\View\ComponentAttributeBag; trait HasExtraCardsAttributes diff --git a/src/Traits/HasExtraDescriptionsAttributes.php b/src/Traits/HasExtraDescriptionsAttributes.php index df0521c..3f115bd 100644 --- a/src/Traits/HasExtraDescriptionsAttributes.php +++ b/src/Traits/HasExtraDescriptionsAttributes.php @@ -2,6 +2,7 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; use Illuminate\View\ComponentAttributeBag; trait HasExtraDescriptionsAttributes diff --git a/src/Traits/HasExtraOptionsAttributes.php b/src/Traits/HasExtraOptionsAttributes.php index 1005aa5..3cfebe7 100644 --- a/src/Traits/HasExtraOptionsAttributes.php +++ b/src/Traits/HasExtraOptionsAttributes.php @@ -2,6 +2,7 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; use Illuminate\View\ComponentAttributeBag; trait HasExtraOptionsAttributes diff --git a/src/Traits/HasGap.php b/src/Traits/HasGap.php index 94e7002..df23d6f 100644 --- a/src/Traits/HasGap.php +++ b/src/Traits/HasGap.php @@ -2,6 +2,8 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; + trait HasGap { protected string|Closure|null $gap = null; diff --git a/src/Traits/HasIconSizes.php b/src/Traits/HasIconSizes.php index f2e9517..5ff5e02 100644 --- a/src/Traits/HasIconSizes.php +++ b/src/Traits/HasIconSizes.php @@ -2,6 +2,8 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; + trait HasIconSizes { protected array|Closure|null $iconSizes = []; diff --git a/src/Traits/HasPadding.php b/src/Traits/HasPadding.php index f77a055..acb3947 100644 --- a/src/Traits/HasPadding.php +++ b/src/Traits/HasPadding.php @@ -2,6 +2,8 @@ namespace JaOcero\RadioDeck\Traits; +use Closure; + trait HasPadding { protected string|Closure|null $padding = null;