feat: simplify xml parsing, add 'mutable' property for personal data

This commit is contained in:
Björn Fromme committed 2025-01-30 10:40:38 +01:00
1 parent c75f069ce0
commit eae9879519
8 files changed
+47 -32

No files matched your search

@@ -11,7 +11,7 @@ class BookingUpdateParser extends AbstractParser
{
$bookingUpdate = new BookingUpdate();
$bookingUpdate->valid = 'möglich' === $node->filterXPath('//aenderung')->text();
$bookingUpdate->totalPrice = $this->stringToFloat($node->filterXPath('//gesamtpreis')->text());
$bookingUpdate->totalPrice = $this->getFloatOrNullValue($node->filterXPath('//gesamtpreis'));
return $bookingUpdate;
}