Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check OAuthException exists before declaring #10

Open
acouch opened this issue Oct 8, 2014 · 0 comments
Open

Check OAuthException exists before declaring #10

acouch opened this issue Oct 8, 2014 · 0 comments

Comments

@acouch
Copy link

acouch commented Oct 8, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant