mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-25 08:21:08 -06:00
Update code style.
This commit is contained in:
parent
b56acf36c5
commit
ebd32e0e08
@ -301,7 +301,7 @@ class Account extends Model
|
||||
protected function virtualBalance(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ class AutoBudget extends Model
|
||||
protected function amount(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -111,7 +111,7 @@ class CurrencyExchangeRate extends Model
|
||||
protected function rate(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
|
||||
@ -121,7 +121,7 @@ class CurrencyExchangeRate extends Model
|
||||
protected function userRate(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -180,7 +180,7 @@ class RecurrenceTransaction extends Model
|
||||
protected function amount(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
|
||||
@ -190,7 +190,7 @@ class RecurrenceTransaction extends Model
|
||||
protected function foreignAmount(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: fn($value) => (string) $value,
|
||||
get: fn ($value) => (string) $value,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -336,7 +336,8 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
||||
->piggyBanks()
|
||||
->with(
|
||||
['account',
|
||||
'objectGroups'])
|
||||
'objectGroups']
|
||||
)
|
||||
->orderBy('order', 'ASC')->get();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user