Skip to content

Firefly III: a personal finances manager

Update code style.

James Coleebd32e0e088f
diff --git a/app/Models/Account.php b/app/Models/Account.php
index 8f94933839..ba49d190ec 100644
--- a/app/Models/Account.php
+++ b/app/Models/Account.php
@@ -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,
);
}
}
diff --git a/app/Models/AutoBudget.php b/app/Models/AutoBudget.php
index c62ba4f2df..ef6f4b41fc 100644
--- a/app/Models/AutoBudget.php
+++ b/app/Models/AutoBudget.php
@@ -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,
);
}
}
diff --git a/app/Models/CurrencyExchangeRate.php b/app/Models/CurrencyExchangeRate.php
index 912420af96..f0bf57860e 100644
--- a/app/Models/CurrencyExchangeRate.php
+++ b/app/Models/CurrencyExchangeRate.php
@@ -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,
);
}
}
diff --git a/app/Models/RecurrenceTransaction.php b/app/Models/RecurrenceTransaction.php
index c8fc374619..ebe4933d01 100644
--- a/app/Models/RecurrenceTransaction.php
+++ b/app/Models/RecurrenceTransaction.php
@@ -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,
);
}
}
diff --git a/app/Repositories/PiggyBank/PiggyBankRepository.php b/app/Repositories/PiggyBank/PiggyBankRepository.php
index 544ac251ac..0396642f7c 100644
--- a/app/Repositories/PiggyBank/PiggyBankRepository.php
+++ b/app/Repositories/PiggyBank/PiggyBankRepository.php
@@ -336,7 +336,8 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
->piggyBanks()
->with(
['account',
- 'objectGroups'])
+ 'objectGroups']
+ )
->orderBy('order', 'ASC')->get();
}