We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 136ebfd commit 74e2343Copy full SHA for 74e2343
src/Attribute.php
@@ -137,7 +137,7 @@ public static function fromArray(array $data): static
137
$data['namespaceURI'],
138
$data['namespacePrefix'],
139
$data['attrName'],
140
- $data['attrValue'],
+ StringValue::fromString($data['attrValue']),
141
);
142
}
143
@@ -193,7 +193,7 @@ public function toArray(): array
193
'namespaceURI' => $this->getNamespaceURI(),
194
'namespacePrefix' => $this->getNamespacePrefix(),
195
'attrName' => $this->getAttrName(),
196
- 'attrValue' => $this->getAttrValue(),
+ 'attrValue' => $this->getAttrValue()->getValue(),
197
];
198
199
0 commit comments