feat: simplify xml parsing, add 'mutable' property for personal data
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user