Skip to content

Commit 125c4e3

Browse files
author
Alexandru Bucur
committed
bugfix #207 format/hlr to stdClass type
1 parent 106c61a commit 125c4e3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/MessageBird/Objects/Lookup.php

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class Lookup extends Base
5858
protected $type;
5959

6060
/**
61-
* An associative array containing references to this phone number in several different formats.
61+
* An object containing references to this phone number in several formats.
6262
*
63-
* @var array
63+
* @var stdClass
6464
*
6565
* e164: The phone number in E.164 format.
6666
* international: The phone number in international format.
@@ -72,7 +72,7 @@ class Lookup extends Base
7272
/**
7373
* The most recent HLR object. If no such HLR objects exists, this array won't be returned.
7474
*
75-
* @var array
75+
* @var stdClass
7676
*
7777
* id(string): An unique random ID which is created on the MessageBird platform.
7878
* network(int): The MCCMNC code of the network provider.
@@ -108,19 +108,19 @@ public function getType(): ?string
108108
return $this->type;
109109
}
110110

111-
public function getFormats(): ?array
111+
public function getFormats(): ?stdClass
112112
{
113113
return $this->formats;
114114
}
115115

116-
public function getHLR(): ?array
116+
public function getHLR(): ?stdClass
117117
{
118118
return $this->hlr;
119119
}
120120

121121
/**
122122
* @deprecated 2.2.0 No longer used by internal code, please switch to {@see self::loadFromStdclass()}
123-
*
123+
*
124124
* @param mixed $object
125125
*
126126
* @return $this

0 commit comments

Comments
 (0)