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
@@ -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);