mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup that (hopefully) matches style CI
This commit is contained in:
@@ -112,10 +112,10 @@ class AccountFormRequest extends Request
|
||||
'what' => 'in:' . $types,
|
||||
'interest_period' => 'in:daily,monthly,yearly',
|
||||
];
|
||||
$rules = Location::requestRules($rules);
|
||||
$rules = Location::requestRules($rules);
|
||||
|
||||
if ('liabilities' === $this->get('objectType')) {
|
||||
$rules['opening_balance'] = ['numeric', 'required','max:1000000000'];
|
||||
$rules['opening_balance'] = ['numeric', 'required', 'max:1000000000'];
|
||||
$rules['opening_balance_date'] = 'date|required';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user