mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Rename method
This commit is contained in:
@@ -49,7 +49,7 @@ class StoreRequest extends FormRequest
|
||||
'title' => $this->convertString('title'),
|
||||
'notes' => $this->stringWithNewlines('notes'),
|
||||
'attachable_type' => $this->convertString('attachable_type'),
|
||||
'attachable_id' => $this->integer('attachable_id'),
|
||||
'attachable_id' => $this->convertInteger('attachable_id'),
|
||||
];
|
||||
}
|
||||
|
||||
|
@@ -49,7 +49,7 @@ class UpdateRequest extends FormRequest
|
||||
'title' => ['title', 'convertString'],
|
||||
'notes' => ['notes', 'stringWithNewlines'],
|
||||
'attachable_type' => ['attachable_type', 'convertString'],
|
||||
'attachable_id' => ['attachable_id', 'integer'],
|
||||
'attachable_id' => ['attachable_id', 'convertInteger'],
|
||||
];
|
||||
|
||||
return $this->getAllData($fields);
|
||||
|
Reference in New Issue
Block a user