Skip to content

Commit

Permalink
get_phone return type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vidmantaskiro committed Oct 21, 2024
1 parent c54d9b5 commit 06fe1e2
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 06fe1e2

Please sign in to comment.