Skip to content

Commit

Permalink
Merge pull request #11177 from lekoala/patch-52
Browse files Browse the repository at this point in the history
ENH fieldList is an array or null
  • Loading branch information
GuySartorelli committed Mar 14, 2024
2 parents b031ade + 777056d commit 4e3add8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<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)
Expand Down

0 comments on commit 4e3add8

Please sign in to comment.