Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
richardhj committed Apr 26, 2021
1 parent 644b63e commit 627dc88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/ShippingOption.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ private function processShippingMethod()
{
$this->id = $this->shipping->getId();
$this->name = $this->shipping->getLabel();
$this->description = strip_tags($this->shipping->getNote());
$this->description = strip_tags((string) $this->shipping->getNote());
$this->price = (int) round($this->shipping->getPrice() * 100, 0);
$this->shipping_method = $this->shipping->klarna_shipping_method ?: self::METHOD_OWN;

Expand Down

0 comments on commit 627dc88

Please sign in to comment.