mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Fix phpstan issues.
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user