From eda41155aa3478dc626c1583bb933ccfa9a2d63a Mon Sep 17 00:00:00 2001 From: netkas Date: Wed, 15 Jan 2025 15:04:53 -0500 Subject: [PATCH] Update exception message for invalid address type --- src/Socialbox/Objects/Standard/Peer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Socialbox/Objects/Standard/Peer.php b/src/Socialbox/Objects/Standard/Peer.php index 86ec249..e8d839c 100644 --- a/src/Socialbox/Objects/Standard/Peer.php +++ b/src/Socialbox/Objects/Standard/Peer.php @@ -38,7 +38,7 @@ } else { - throw new InvalidArgumentException('Invalid address value'); + throw new InvalidArgumentException('Invalid address value type, got type ' . gettype($data['address'])); } $this->displayName = $data['display_name'];