Open dragonmantank opened 3 years ago
I would like to take a stab at this if you don't mind? Am I understanding correctly that the code snippet search-available.php needs updated to string like so?
/* @var IterableAPICollection $response / $filter = new AvailableNumbers([ "pattern" => (string) NUMBER_SEARCH_CRITERIA, "search_pattern" => (int) NUMBER_SEARCH_PATTERN, "type" => VONAGE_NUMBER_TYPE, "features" => VONAGE_NUMBER_FEATURES, ]);
When running
numbers/search-available.php
, it throws the following error:The
setPattern()
method was changed to take a string but the snippet was never updated.