Code cleanup [skip ci]

This commit is contained in:
James Cole
2018-06-06 21:23:00 +02:00
parent 20044427b4
commit 4a12d4d156
75 changed files with 319 additions and 341 deletions

View File

@@ -62,12 +62,12 @@ class PiggyBankFormRequest extends Request
}
$rules = [
'name' => $nameRule,
'account_id' => 'required|belongsToUser:accounts',
'targetamount' => 'required|numeric|more:0',
'startdate' => 'date',
'targetdate' => 'date|nullable',
'order' => 'integer|min:1',
'name' => $nameRule,
'account_id' => 'required|belongsToUser:accounts',
'targetamount' => 'required|numeric|more:0',
'startdate' => 'date',
'targetdate' => 'date|nullable',
'order' => 'integer|min:1',
];
return $rules;