Merge branch '4.11' into 4

This commit is contained in:
Guy Sartorelli 2022-07-06 11:28:41 +12:00
commit 0cd6665130

View File

@ -232,7 +232,8 @@ class Form extends ViewableData implements HasRequestHandler
* @var array
*/
private static $casting = [
'AttributesHTML' => 'HTMLFragment',
'AttributesHTML' => 'HTMLFragment', // property $AttributesHTML version
'getAttributesHTML' => 'HTMLFragment', // method $getAttributesHTML($arg) version
'FormAttributes' => 'HTMLFragment',
'FormName' => 'Text',
'Legend' => 'HTMLFragment',