Some code cleanup.

This commit is contained in:
James Cole
2016-01-01 12:41:00 +01:00
parent 70c922cdc5
commit b415b6b043
14 changed files with 37 additions and 41 deletions

View File

@@ -270,7 +270,7 @@ class AccountRepository implements AccountRepositoryInterface
$end = clone Session::get('end', new Carbon);
$collection = new Collection(DB::table('piggy_banks')->distinct()->get(['piggy_banks.account_id']));
$ids = $collection->pluck('account_id')->toArray();
$accounts = new Collection;
$accounts = new Collection;
$cache = new CacheProperties;
$cache->addProperty($ids);