@VicV came across a minor issue in the SDK, its throwing an error in our IDE, when you have the time would appreciate an update. Thanks!
Description
The APIException::_construct method parameters are string $reason and TaplyticsLib\Http\HttpContext $context however the docblock refers to an int $responseCode and string $responseBody instead which raises a warning in the IDE when mocking the object for tests, etc.
Link to the docblock: APIException.php#L31-L33
@VicV came across a minor issue in the SDK, its throwing an error in our IDE, when you have the time would appreciate an update. Thanks!
Description
The
APIException::_constructmethod parameters arestring $reasonandTaplyticsLib\Http\HttpContext $contexthowever the docblock refers to anint $responseCodeandstring $responseBodyinstead which raises a warning in the IDE when mocking the object for tests, etc.Link to the docblock: APIException.php#L31-L33