Skip to content

Commit cd82da4

Browse files
committed
chore: run composer lint
1 parent 715ac10 commit cd82da4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Models/User.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ public function rolesLabel(): Attribute
142142
{
143143
$roles = $this->getRoleNames()->toArray();
144144

145-
return Attribute::get(fn () => count($roles)
145+
return Attribute::get(
146+
fn () => count($roles)
146147
? implode(', ', array_map(fn ($item) => ucwords($item), $roles))
147148
: 'N/A'
148149
);

0 commit comments

Comments
 (0)