Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Commit

Permalink
Fix UserRepository not found class error
Browse files Browse the repository at this point in the history
  • Loading branch information
mgonza02 authored Jan 7, 2023
1 parent a029952 commit e514a3a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Auth/PassportSocialResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace App\Auth;

use App\Repositories\Auth\User\UserRepository;
use App\Models\Auth\User\User;
use Coderello\SocialGrant\Resolvers\SocialUserResolverInterface;
use Exception;
use Illuminate\Contracts\Auth\Authenticatable;
Expand All @@ -13,9 +13,9 @@

class PassportSocialResolver implements SocialUserResolverInterface
{
private UserRepository $userRepository;
private User $userRepository;

public function __construct(UserRepository $userRepository)
public function __construct(User $userRepository)
{
$this->userRepository = $userRepository;
}
Expand Down

0 comments on commit e514a3a

Please sign in to comment.