diff options
author | Sam Light <samlight1994@gmail.com> | 2025-09-23 22:54:57 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-09-23 22:54:57 +0100 |
commit | 2aca9a441ef48fb66ace8a5bfb9d8b730bc4e925 (patch) | |
tree | a3798b6aca1882347e7e55bb1db9249196e0ee73 /src/Concerns | |
parent | 94caf14491860e35eaf07d76e1aea7ee90e1246a (diff) |
Initial pint code formatting
Diffstat (limited to 'src/Concerns')
-rw-r--r-- | src/Concerns/WithAttributes.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Concerns/WithAttributes.php b/src/Concerns/WithAttributes.php index 9072145..d97f84a 100644 --- a/src/Concerns/WithAttributes.php +++ b/src/Concerns/WithAttributes.php @@ -12,11 +12,12 @@ trait WithAttributes protected ?array $attributes = null; /** - * @param array<string, string> $attributes + * @param array<string, string> $attributes */ public function attributes(array $attributes): static { $this->attributes = $attributes; + return $this; } @@ -24,5 +25,4 @@ trait WithAttributes { return new ComponentAttributeBag($this->attributes ?? []); } - } |