Add a todo [skip ci]

This commit is contained in:
James Cole
2019-08-06 05:39:05 +02:00
parent 00d785d891
commit efc6b0e45a

View File

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