You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed: Update email pattern in cleanMessage() method to handle local addresses without TLD and to allow using the caracter @ in custom message. Close #4 (Thanks @AndisGrossteins)
NewApiHandler::setTimeout(int $timeout) method allows to change default timeout before any API request. Timeout is expressed in milliseconds. Overwrites the value passed in constructor, useful when performing multiple queries with same handler but different timeout.
New: the ApiHandler (and QuietApiHandler) constructor takes now a timeout in third parameter. The timeout is expressed in milliseconds . The timeout will apply to all API request methods (will raise exception if reached out). Default is 0 (no timeout).
fix #1 Incorrect return type in ApiResponse::getObject() method (bug introduced in v0.9.8 with PHP strict types). Method now returns stdClass. Thanks 357up