mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Update code style.
This commit is contained in:
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -336,7 +336,8 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
|||||||
->piggyBanks()
|
->piggyBanks()
|
||||||
->with(
|
->with(
|
||||||
['account',
|
['account',
|
||||||
'objectGroups'])
|
'objectGroups']
|
||||||
|
)
|
||||||
->orderBy('order', 'ASC')->get();
|
->orderBy('order', 'ASC')->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user