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

Bug 10 - Argument #2 ($user) must be of type Laravel\Socialite\Two\User #11

Merged
merged 2 commits into from
Jun 4, 2024

Conversation

stevebauman
Copy link
Member

@stevebauman stevebauman commented Jun 4, 2024

Closes #10

This PR fixes the Bartender contracts to use the proper base Socialite User interface instead of the Two\User class:

- use Laravel\Socialite\Two\User as SocialiteUser;
+ use Laravel\Socialite\Contracts\User as SocialiteUser;

This would normally be a breaking change, but I believe this is more so a bug and can thus be placed in a minor update.

@stevebauman stevebauman merged commit e3baa25 into master Jun 4, 2024
14 checks passed
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.

Argument #2 ($user) must be of type Laravel\Socialite\Two\User
1 participant