Update code style.

This commit is contained in:
James Cole
2023-01-02 16:18:17 +01:00
parent b56acf36c5
commit ebd32e0e08
5 changed files with 8 additions and 7 deletions

View File

@@ -301,7 +301,7 @@ class Account extends Model
protected function virtualBalance(): Attribute protected function virtualBalance(): Attribute
{ {
return Attribute::make( return Attribute::make(
get: fn($value) => (string) $value, get: fn ($value) => (string) $value,
); );
} }
} }

View File

@@ -94,7 +94,7 @@ class AutoBudget extends Model
protected function amount(): Attribute protected function amount(): Attribute
{ {
return Attribute::make( return Attribute::make(
get: fn($value) => (string) $value, get: fn ($value) => (string) $value,
); );
} }
} }

View File

@@ -111,7 +111,7 @@ class CurrencyExchangeRate extends Model
protected function rate(): Attribute protected function rate(): Attribute
{ {
return Attribute::make( 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 protected function userRate(): Attribute
{ {
return Attribute::make( return Attribute::make(
get: fn($value) => (string) $value, get: fn ($value) => (string) $value,
); );
} }
} }

View File

@@ -180,7 +180,7 @@ class RecurrenceTransaction extends Model
protected function amount(): Attribute protected function amount(): Attribute
{ {
return Attribute::make( 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 protected function foreignAmount(): Attribute
{ {
return Attribute::make( return Attribute::make(
get: fn($value) => (string) $value, get: fn ($value) => (string) $value,
); );
} }
} }

View File

@@ -336,7 +336,8 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
->piggyBanks() ->piggyBanks()
->with( ->with(
['account', ['account',
'objectGroups']) 'objectGroups']
)
->orderBy('order', 'ASC')->get(); ->orderBy('order', 'ASC')->get();
} }