diff options
Diffstat (limited to 'src/Concerns')
-rw-r--r-- | src/Concerns/WithAttributes.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Concerns/WithAttributes.php b/src/Concerns/WithAttributes.php index 5b77fa5..9072145 100644 --- a/src/Concerns/WithAttributes.php +++ b/src/Concerns/WithAttributes.php @@ -6,8 +6,14 @@ use Illuminate\View\ComponentAttributeBag; trait WithAttributes { + /** + * @var array<string, string> + */ protected ?array $attributes = null; + /** + * @param array<string, string> $attributes + */ public function attributes(array $attributes): static { $this->attributes = $attributes; |