Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Update docblock for APIException class' constructor function to include correct params and param types #1

@sampurcell

Description

@sampurcell

@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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions