Fix phpstan issues.

This commit is contained in:
James Cole
2025-09-07 07:51:01 +02:00
parent 602df95f3c
commit c3a3bdf525
21 changed files with 52 additions and 219 deletions

View File

@@ -176,18 +176,6 @@ class AccountTransformer extends AbstractTransformer
return $accountRole;
}
/**
* TODO duplicated in the V2 transformer.
*/
private function getDate(): Carbon
{
if (null !== $this->parameters->get('date')) {
return $this->parameters->get('date');
}
return today(config('app.timezone'));
}
private function getCCInfo(Account $account, ?string $accountRole, string $accountType): array
{
$monthlyPaymentDate = null;