ENH fieldList is an array or null

This commit is contained in:
Thomas Portelange 2024-03-14 17:06:00 +01:00 committed by GitHub
parent b031ade73a
commit 777056d861
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ class Form extends ViewableData implements HasRequestHandler
* It will make use of setCastedField() to do this.
*
* @param DataObjectInterface $dataObject The object to save data into
* @param FieldList $fieldList An optional list of fields to process. This can be useful when you have a
* @param array<string>|null $fieldList An optional list of fields to process. This can be useful when you have a
* form that has some fields that save to one object, and some that save to another.
*/
public function saveInto(DataObjectInterface $dataObject, $fieldList = null)