mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 08:35:00 +00:00
Various code fixes
This commit is contained in:
@@ -331,7 +331,12 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
||||
*/
|
||||
public function getPiggyBanks(): Collection
|
||||
{
|
||||
return $this->user->piggyBanks()->with(['account', 'objectGroups'])->orderBy('order', 'ASC')->get();
|
||||
return $this->user
|
||||
->piggyBanks()
|
||||
->with(
|
||||
['account',
|
||||
'objectGroups']) // @phpstan-ignore-line (phpstan does not recognize objectGroups)
|
||||
->orderBy('order', 'ASC')->get();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user