mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-07 02:18:11 +00:00
Update requests to use uniform methods.
This commit is contained in:
@@ -36,9 +36,9 @@ class AttachmentFormRequest extends Request
|
||||
public function getAttachmentData(): array
|
||||
{
|
||||
return [
|
||||
'title' => trim($this->input('title')),
|
||||
'description' => trim($this->input('description')),
|
||||
'notes' => trim($this->input('notes')),
|
||||
'title' => $this->getFieldOrEmptyString('title'),
|
||||
'description' => $this->getFieldOrEmptyString('description'),
|
||||
'notes' => $this->getFieldOrEmptyString('notes'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user