Skip to content

Commit

Permalink
Don't enforce returning User model
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher authored Feb 17, 2023
1 parent 6d072c1 commit dc2d258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Contracts/CreatesUserFromProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

namespace JoelButcher\Socialstream\Contracts;

use App\Models\User;
use Laravel\Socialite\Contracts\User as ProviderUserContract;

interface CreatesUserFromProvider
{
/**
* Create a new user from a social provider user.
*/
public function create(string $provider, ProviderUserContract $providerUser): User;
public function create(string $provider, ProviderUserContract $providerUser): mixed;
}

0 comments on commit dc2d258

Please sign in to comment.