Skip to content

Commit

Permalink
fix(orders): prevent order id type error
Browse files Browse the repository at this point in the history
  • Loading branch information
EdieLemoine committed Sep 20, 2023
1 parent ddd3209 commit e59ab3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/PsOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ private function getOrderId($orderOrId): string
return (string) $orderOrId->id;
}

return $orderOrId;
return (string) $orderOrId;
}
}

0 comments on commit e59ab3c

Please sign in to comment.