Fix Laravel Pint formatting

This commit is contained in:
root
2026-06-09 00:03:03 -04:00
parent 8d4d610b82
commit b5fd4a4ca1
1414 changed files with 11317 additions and 10201 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)));
}