src/Services/SocialAccountService.php
Method getReturnUrl
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getReturnUrl(string $provider, ?string $returnUrl, ?string $state): string
{
$socialUser = Socialite::driver($provider)->stateless()->user();
$socialAccount = $this->socialAccountRepository->findByProviderAndProviderId($provider, $socialUser->getId());
Method __construct
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
AuthServiceContract $authService,
UserServiceContract $userService,
SocialAccountRepositoryContract $socialAccountRepository,
UserRepositoryContract $userRepository,
PreUserRepositoryContract $preUserRepository