Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-08 23:30:22 -04:00
parent 567dc24649
commit c792b8be05
1288 changed files with 10766 additions and 9669 deletions
+2 -3
View File
@@ -8,13 +8,12 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
class RoleSwitchService
{
public function __construct(private RoleDashboardService $dashboardService)
{
}
public function __construct(private RoleDashboardService $dashboardService) {}
public function getUserRoleNames(int $userId): array
{
$roles = UserRole::getRolesByUserId($userId);
return array_values(array_filter(array_map(fn ($r) => (string) ($r['role_name'] ?? ''), $roles)));
}