Skip to content

Commit 619a196

Browse files
committed
fix return type error
1 parent 666fcfb commit 619a196

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Geography/Address/Physical/GenericPhysicalAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function getAddress() : string
131131

132132
$formatted = implode(', ', $nonEmptyValues);
133133

134-
return StringUtils::trimSpacesWisely($formatted);
134+
return StringUtils::trimSpacesWisely($formatted) ?? '';
135135
}
136136

137137
public function __toString() : string

0 commit comments

Comments
 (0)