diff options
author | Sam Light <samlight1994@gmail.com> | 2025-04-26 13:05:25 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-04-26 13:05:25 +0100 |
commit | 6d26688fded015141a45a88b90b2d70a0ac88420 (patch) | |
tree | 33324531f6e9595c7eb190b89bcdb5a7b55d1b5f /src/Concerns | |
parent | 88f71aeba1a1649661d713297d3a75454636b2d1 (diff) |
Larastanning
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; |