mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Make request code more uniform.
This commit is contained in:
@@ -36,9 +36,9 @@ class AttachmentFormRequest extends Request
|
||||
public function getAttachmentData(): array
|
||||
{
|
||||
return [
|
||||
'title' => $this->getFieldOrEmptyString('title'),
|
||||
'description' => $this->getFieldOrEmptyString('description'),
|
||||
'notes' => $this->getFieldOrEmptyString('notes'),
|
||||
'title' => $this->string('title'),
|
||||
'description' => $this->string('description'),
|
||||
'notes' => $this->string('notes'),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user