Skip to content

Firefly III: a personal finances manager

Remove unused var

James Cole118635989819
diff --git a/app/Support/Http/Api/AccountBalanceGrouped.php b/app/Support/Http/Api/AccountBalanceGrouped.php
index fe9b09e36f..fdc6c37ae4 100644
--- a/app/Support/Http/Api/AccountBalanceGrouped.php
+++ b/app/Support/Http/Api/AccountBalanceGrouped.php
@@ -35,7 +35,6 @@ use Illuminate\Support\Collection;
class AccountBalanceGrouped
{
private array $accountIds;
- private Collection $accounts;
private string $carbonFormat;
private array $currencies = [];
private array $data = [];
@@ -206,7 +205,6 @@ class AccountBalanceGrouped
*/
public function setAccounts(Collection $accounts): void
{
- $this->accounts = $accounts;
$this->accountIds = $accounts->pluck('id')->toArray();
}