Add a todo [skip ci]

This commit is contained in:
James Cole 2019-08-06 05:39:05 +02:00
parent 00d785d891
commit efc6b0e45a
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -129,6 +129,8 @@ class AccountRepository implements AccountRepositoryInterface
$query->whereIn('account_types.type', $types);
}
// TODO a loop like this is no longer necessary
$accounts = $query->get(['accounts.*']);
/** @var Account $account */
foreach ($accounts as $account) {