Skip to content

Commit

Permalink
Backend issue PHP 8.3 on retry #109
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin-Magmodules committed Jun 20, 2024
1 parent 4f9e607 commit a85f410
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Model/Api/Builder/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ public function parseAddress(Address $shippingAddress)
$street = $shippingAddress->getStreet();
if ($this->config->housenumberExtensionOnThirdStreet()) {
return [
'street' => trim($street[0] ?? null),
'houseNumber' => trim(isset($street[1]) ? $street[1] : null),
'houseNumberExtension' => trim(isset($street[2]) ? $street[2] : null),
'street' => trim($street[0] ?? ''),
'houseNumber' => trim($street[1] ?? ''),
'houseNumberExtension' => trim($street[2] ?? ''),
];
}
$street = implode(' ', $street);
Expand Down Expand Up @@ -422,7 +422,7 @@ private function getProductDimemension(Item $item)

return $dimensionArray;
}

/**
* @param $value
* @return float
Expand Down

0 comments on commit a85f410

Please sign in to comment.