Skip to content

Commit 2ef4dc0

Browse files
footballencartadragonmantank
authored andcommitted
Added Country to searchOwned
The documentation for this function points to there being a country argument (https://developer.nexmo.com/api/numbers#getOwnedNumbers), but the function doesn't allow this. Adding the string here allows this to be passed through.
1 parent 780032b commit 2ef4dc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Numbers/Client.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ public function searchOwned($number = null, array $options = []) : array
239239

240240
// These are all optional parameters
241241
$possibleParameters = [
242+
'country' => 'string',
242243
'pattern' => 'string',
243244
'search_pattern' => 'integer',
244245
'size' => 'integer',

0 commit comments

Comments
 (0)