Update exception message for invalid address type
This commit is contained in:
parent
4b69a7559b
commit
eda41155aa
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw new InvalidArgumentException('Invalid address value');
|
throw new InvalidArgumentException('Invalid address value type, got type ' . gettype($data['address']));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->displayName = $data['display_name'];
|
$this->displayName = $data['display_name'];
|
||||||
|
|
Loading…
Add table
Reference in a new issue