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,11 +17,11 @@ class ReimbursementDonationService
}
$expense = Expense::query()->find($expenseId);
if (!$expense) {
if (! $expense) {
throw new RuntimeException('Expense not found.');
}
if (!empty($expense->reimbursement_id)) {
if (! empty($expense->reimbursement_id)) {
throw new RuntimeException('Expense is already tied to a reimbursement.');
}
@@ -46,7 +46,7 @@ class ReimbursementDonationService
DB::commit();
} catch (\Throwable $e) {
DB::rollBack();
Log::error('Failed to mark donation: ' . $e->getMessage(), ['expense_id' => $expenseId]);
Log::error('Failed to mark donation: '.$e->getMessage(), ['expense_id' => $expenseId]);
throw new RuntimeException('Unable to mark donation right now.');
}
}