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

Enhance supportsTokens check #123

Merged
merged 1 commit into from
Apr 9, 2020
Merged

Conversation

devmsh
Copy link
Contributor

@devmsh devmsh commented Apr 9, 2020

Quick small fix. I don't know if it's 7.4 related, but when I call

class_uses_recursive(null);

it gives me ErrorException : class_parents(): object or string expected

I just about the function to test if $tokenable if available even before checking the HasApiTokens trait usage.

@taylorotwell taylorotwell merged commit f4248c8 into laravel:2.x Apr 9, 2020
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

Successfully merging this pull request may close these issues.

2 participants