From 777056d8611ad3ba91d13853bf721e2506f13146 Mon Sep 17 00:00:00 2001 From: Thomas Portelange Date: Thu, 14 Mar 2024 17:06:00 +0100 Subject: [PATCH] ENH fieldList is an array or null --- src/Forms/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)