Run phpcs locally to make sure phpstan stays fixed. [skip ci]

This commit is contained in:
James Cole
2025-01-04 07:39:16 +01:00
parent 1b97d8fd48
commit 7eaa0e16b3
164 changed files with 171 additions and 357 deletions

View File

@@ -76,7 +76,7 @@ class AccountRepository implements AccountRepositoryInterface
$dbQuery->whereIn('account_types.type', $types);
}
/** @var Account|null */
/** @var null|Account */
return $dbQuery->first(['accounts.*']);
}
@@ -90,7 +90,7 @@ class AccountRepository implements AccountRepositoryInterface
$query->whereIn('account_types.type', $types);
}
/** @var Account|null */
/** @var null|Account */
return $query->where('iban', $iban)->first(['accounts.*']);
}
@@ -167,7 +167,8 @@ class AccountRepository implements AccountRepositoryInterface
if (null === $account) {
$account = $this->userGroup->accounts()->find($accountId);
}
/** @var Account|null */
/** @var null|Account */
return $account;
}