diff --git a/src/Forms/Form.php b/src/Forms/Form.php index ccea1e78746..37b59b9a52f 100644 --- a/src/Forms/Form.php +++ b/src/Forms/Form.php @@ -1480,7 +1480,7 @@ public function loadDataFrom($data, $mergeStrategy = 0, $fieldList = null) * 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|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)