Skip to content

Commit

Permalink
Fixes #2041 Crash in ShippingRateResolver::postcode()
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirmturk committed Dec 20, 2024
1 parent 736d14c commit 6cc901d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public function state($state): self
/**
* Set the value for the postcode.
*/
public function postcode(string $postcode): self
public function postcode(?string $postcode): self
{
$this->postcode = $postcode;

Expand Down

0 comments on commit 6cc901d

Please sign in to comment.