mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Code cleanup [skip-ci]
This commit is contained in:
@@ -156,8 +156,8 @@ class EloquentAccountRepository implements AccountRepositoryInterface
|
||||
|
||||
public function getCashAccount()
|
||||
{
|
||||
$type = \AccountType::where('description','Cash account')->first();
|
||||
$cash = \Auth::user()->accounts()->where('account_type_id',$type->id)->first();
|
||||
$type = \AccountType::where('description', 'Cash account')->first();
|
||||
$cash = \Auth::user()->accounts()->where('account_type_id', $type->id)->first();
|
||||
return $cash;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user