mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Reformat various code.
This commit is contained in:
@@ -142,9 +142,7 @@ class AccountUpdateService
|
||||
//$liabilityType = $data['liability_type'] ?? '';
|
||||
if ($this->isLiability($account) && array_key_exists('liability_type', $data)) {
|
||||
$type = $this->getAccountType($data['liability_type']);
|
||||
if (null !== $type) {
|
||||
$account->account_type_id = $type->id;
|
||||
}
|
||||
$account->account_type_id = $type->id;
|
||||
}
|
||||
// set liability, alternative method used in v1 layout:
|
||||
|
||||
|
Reference in New Issue
Block a user