Remove unused var

This commit is contained in:
James Cole 2023-12-20 06:46:59 +01:00
parent aabf73d3e9
commit 1186359898
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -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();
}