Fix Pint formatting

This commit is contained in:
root
2026-06-09 01:25:14 -04:00
parent 6be4875c5e
commit 20a0b6c4e5
1485 changed files with 11318 additions and 10273 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)));
}