Rename method

This commit is contained in:
James Cole
2022-10-01 05:29:42 +02:00
parent 4474a71e65
commit 93c83fbe7a
26 changed files with 47 additions and 47 deletions

View File

@@ -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'),
];
}

View File

@@ -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);