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
@@ -17,8 +17,7 @@ class BadgeController extends Controller
protected BadgePdfService $badgePdfService,
protected BadgePrintLogService $badgePrintLogService,
protected BadgeFormDataService $badgeFormDataService
) {
}
) {}
public function generatePdf(Request $request)
{
@@ -166,7 +165,7 @@ class BadgeController extends Controller
if (is_string($ids)) {
$ids = array_filter(array_map('trim', explode(',', $ids)), 'strlen');
} elseif (!is_array($ids)) {
} elseif (! is_array($ids)) {
$ids = $ids ? [$ids] : [];
}
@@ -199,7 +198,7 @@ class BadgeController extends Controller
if (is_string($ids)) {
$ids = array_filter(array_map('trim', explode(',', $ids)), 'strlen');
} elseif (!is_array($ids)) {
} elseif (! is_array($ids)) {
$ids = $ids ? [$ids] : [];
}
@@ -208,9 +207,6 @@ class BadgeController extends Controller
return array_values(array_filter($ids, static fn ($v) => $v > 0));
}
/**
* @return int|JsonResponse
*/
private function authenticatedUserIdOrUnauthorized(): int|JsonResponse
{
$userId = (int) (auth()->id() ?? 0);