mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Update requests to use uniform methods.
This commit is contained in:
@@ -38,7 +38,7 @@ class PiggyBankFormRequest extends Request
|
||||
public function getPiggyBankData(): array
|
||||
{
|
||||
return [
|
||||
'name' => trim($this->get('name')),
|
||||
'name' => $this->getFieldOrEmptyString('name'),
|
||||
'startdate' => new Carbon,
|
||||
'account_id' => intval($this->get('account_id')),
|
||||
'targetamount' => round($this->get('targetamount'), 12),
|
||||
|
||||
Reference in New Issue
Block a user