mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 13:36:15 +00:00
Refactor old methods.
This commit is contained in:
@@ -212,7 +212,7 @@ class BillTransformer extends AbstractTransformer
|
||||
return $default; // @codeCoverageIgnore
|
||||
}
|
||||
$latest = $dates->first()->date;
|
||||
/** @var TransactionJournal $date */
|
||||
/** @var TransactionJournal $journal */
|
||||
foreach ($dates as $journal) {
|
||||
if ($journal->date->gte($latest)) {
|
||||
$latest = $journal->date;
|
||||
|
||||
Reference in New Issue
Block a user