Skip to content

Commit 5b3f452

Browse files
authored
Update AddressBuilder.php (#910)
Fix #909
1 parent b354236 commit 5b3f452

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Model/AddressBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function build(string $class = Address::class): Address
109109
}
110110

111111
$country = null;
112-
if (!empty($this->country) || !empty($this->country)) {
112+
if (!empty($this->country) || !empty($this->countryCode)) {
113113
$country = new Country($this->country, $this->countryCode);
114114
}
115115

0 commit comments

Comments
 (0)