This commit is contained in:
James Cole
2023-12-21 05:07:26 +01:00
parent 1f7ceb6df6
commit a445bc53cd
61 changed files with 165 additions and 163 deletions

View File

@@ -158,7 +158,7 @@ class AccountDestroyService
private function destroyRecurrences(Account $account): void
{
$recurrences = RecurrenceTransaction::where(
static function (Builder $q) use ($account) {
static function (Builder $q) use ($account): void {
$q->where('source_id', $account->id);
$q->orWhere('destination_id', $account->id);
}