Skip to content

Check OAuthException exists before declaring #10

@acouch

Description

@acouch

A number of other libraries and code bases already declare an OAuthException exception class causing a Fatal error: Cannot redeclare class OAuthException notice.

PR #9 wraps it in a if (!class_exists('OAuthException')) to prevent the fatal error if it already has been declared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions