feat: harden xml parsing to avoid uncaught errors
This commit is contained in:
1 parent
3849ae306c
commit
3234c78f0d
9 files changed
+229
-147
No files matched your search
@@ -57,7 +57,7 @@ class PersonalDataParser extends AbstractParser
|
||||
$remarksNode = $addressDataNode->filterXPath('//bemerkung');
|
||||
|
||||
if (0 < $remarksNode->count()) {
|
||||
$personalData->remarks = $remarksNode->text();
|
||||
$personalData->remarks = $this->getStringOrNullValue($remarksNode);
|
||||
}
|
||||
|
||||
return $personalData;
|
||||
|
||||
Reference in new issue
Block a user