mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #11177 from lekoala/patch-52
ENH fieldList is an array or null
This commit is contained in:
commit
4e3add80d5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user