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
@@ -64,12 +64,13 @@ class SupportController extends BaseApiController
$payload = $request->validated();
$payload['user_email'] = $user->email ?? null;
$payload['user_name'] = trim(($user->firstname ?? '') . ' ' . ($user->lastname ?? ''));
$payload['user_name'] = trim(($user->firstname ?? '').' '.($user->lastname ?? ''));
try {
$result = $this->supportService->create((int) $user->id, $payload);
} catch (\Throwable $e) {
Log::error('Support request failed: ' . $e->getMessage());
Log::error('Support request failed: '.$e->getMessage());
return $this->error('Unable to submit support request.', Response::HTTP_INTERNAL_SERVER_ERROR);
}
@@ -86,9 +87,6 @@ class SupportController extends BaseApiController
]);
}
/**
* @return int|JsonResponse
*/
private function authenticatedUserIdOrUnauthorized(): int|JsonResponse
{
$userId = (int) (auth()->id() ?? 0);