joelbutcher / socialstream

OAuth for Laravel, simplified.
https://docs.socialstream.dev
MIT License
433 stars 66 forks source link

[5.x] fix: remove typehint to be compatible with Socialite AbstractProvider #330

Closed okaufmann closed 9 months ago

okaufmann commented 9 months ago

Summary

This pull request addresses a compatibility issue with Laravel Socialite's AbstractProvider by updating the RefreshesOAuth2Tokens trait.

Explanation

RefreshesOAuth2Tokens is no longer compatible with Laravel Socialite's AbstractProvider. They added the method refreshToken 2 Months ago which now conflicts with the trait.

Checklist