mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix code
This commit is contained in:
@@ -87,7 +87,7 @@ class JournalAPIRepository implements JournalAPIRepositoryInterface
|
||||
{
|
||||
$events = $journal->piggyBankEvents()->get();
|
||||
$events->each(
|
||||
static function (PiggyBankEvent $event) {
|
||||
static function (PiggyBankEvent $event): void {
|
||||
$event->piggyBank = $event->piggyBank()->withTrashed()->first();
|
||||
}
|
||||
);
|
||||
|
Reference in New Issue
Block a user