mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code cleanup.
This commit is contained in:
@@ -188,14 +188,13 @@ class BillTransformer extends AbstractTransformer
|
||||
'date' => $entry->date->format('Y-m-d'),
|
||||
];
|
||||
}
|
||||
$result = [
|
||||
'paid_dates' => $result,
|
||||
'next_expected_match' => $nextMatch->format('Y-m-d'),
|
||||
];
|
||||
|
||||
//Log::debug('Result', $result);
|
||||
|
||||
return $result;
|
||||
return [
|
||||
'paid_dates' => $result,
|
||||
'next_expected_match' => $nextMatch->format('Y-m-d'),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -58,7 +58,6 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
*/
|
||||
public function transform(PiggyBank $piggyBank): array
|
||||
{
|
||||
/** @var Account $account */
|
||||
$account = $piggyBank->account;
|
||||
|
||||
// set up repositories
|
||||
|
Reference in New Issue
Block a user