Skip to content

Commit

Permalink
Merge pull request #165 from infabo/patch-3
Browse files Browse the repository at this point in the history
[FIX] Cast grundstuecksflaeche to double
  • Loading branch information
simitter authored Nov 8, 2024
2 parents 6da8582 + ed79660 commit d373003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Justimmo/Model/Wrapper/V1/RealtyWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ public function transformSingle($data)

if (isset($xml->flaechen)) {
$this->map($this->flaechenMapping, $xml->flaechen, $objekt);
$objekt->setSurfaceArea($this->cast($xml->flaechen->grundstuecksflaeche));
$objekt->setSurfaceArea($this->cast($xml->flaechen->grundstuecksflaeche, 'double'));

foreach ($xml->flaechen->user_defined_simplefield as $simpleField) {
$this->mapSimpleField($simpleField, $objekt);
Expand Down

0 comments on commit d373003

Please sign in to comment.