Skip to content

Commit

Permalink
Merge pull request #130 from vidmantaskiro/get_phone-fix
Browse files Browse the repository at this point in the history
get_phone return type fix
  • Loading branch information
greta-mik authored Oct 21, 2024
2 parents c54d9b5 + 06fe1e2 commit 488b88c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion omnisend/includes/SDK/V1/class-contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ public function set_phone( $phone ): void {
* @return string
*/
public function get_phone(): string {
return $this->phone;
return $this->phone ?: '';
}

/**
Expand Down

0 comments on commit 488b88c

Please sign in to comment.