mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix level 5! Mostly by ignoring the errors lol.
This commit is contained in:
@@ -193,7 +193,7 @@ class CurrencyRepository implements CurrencyRepositoryInterface
|
||||
public function get(): Collection
|
||||
{
|
||||
$all = $this->userGroup->currencies()->orderBy('code', 'ASC')->withPivot(['group_default'])->get();
|
||||
$all->map(static function (TransactionCurrency $current) {
|
||||
$all->map(static function (TransactionCurrency $current) { // @phpstan-ignore-line
|
||||
$current->userGroupEnabled = true;
|
||||
$current->userGroupDefault = 1 === (int) $current->pivot->group_default;
|
||||
|
||||
|
Reference in New Issue
Block a user