@@ -61,19 +61,19 @@ abstract class AbstractElement extends AbstractAnnotated
6161 public function __construct (
6262 ?NCNameValue $ name = null ,
6363 ?QNameValue $ reference = null ,
64- protected LocalSimpleType |LocalComplexType |null $ localType = null ,
65- protected array $ identityConstraint = [],
66- protected ?QNameValue $ type = null ,
67- protected ?QNameValue $ substitutionGroup = null ,
64+ protected readonly LocalSimpleType |LocalComplexType |null $ localType = null ,
65+ protected readonly array $ identityConstraint = [],
66+ protected readonly ?QNameValue $ type = null ,
67+ protected readonly ?QNameValue $ substitutionGroup = null ,
6868 ?MinOccursValue $ minOccurs = null ,
6969 ?MaxOccursValue $ maxOccurs = null ,
70- protected ?StringValue $ default = null ,
71- protected ?StringValue $ fixed = null ,
72- protected ?BooleanValue $ nillable = null ,
73- protected ?BooleanValue $ abstract = null ,
74- protected ?DerivationSetValue $ final = null ,
75- protected ?BlockSetValue $ block = null ,
76- protected ?FormChoiceValue $ form = null ,
70+ protected readonly ?StringValue $ default = null ,
71+ protected readonly ?StringValue $ fixed = null ,
72+ protected readonly ?BooleanValue $ nillable = null ,
73+ protected readonly ?BooleanValue $ abstract = null ,
74+ protected readonly ?DerivationSetValue $ final = null ,
75+ protected readonly ?BlockSetValue $ block = null ,
76+ protected readonly ?FormChoiceValue $ form = null ,
7777 ?Annotation $ annotation = null ,
7878 ?IDValue $ id = null ,
7979 array $ namespacedAttributes = [],
0 commit comments