Updated auth controllers with property types
This commit is contained in:
		
							parent
							
								
									aec772c5eb
								
							
						
					
					
						commit
						7165481075
					
				| 
						 | 
				
			
			@ -14,9 +14,9 @@ use Illuminate\Http\Request;
 | 
			
		|||
 | 
			
		||||
class ConfirmEmailController extends Controller
 | 
			
		||||
{
 | 
			
		||||
    protected $emailConfirmationService;
 | 
			
		||||
    protected $loginService;
 | 
			
		||||
    protected $userRepo;
 | 
			
		||||
    protected EmailConfirmationService $emailConfirmationService;
 | 
			
		||||
    protected LoginService $loginService;
 | 
			
		||||
    protected UserRepo $userRepo;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new controller instance.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,8 +31,8 @@ class LoginController extends Controller
 | 
			
		|||
    /**
 | 
			
		||||
     * Redirection paths.
 | 
			
		||||
     */
 | 
			
		||||
    protected $redirectTo = '/';
 | 
			
		||||
    protected $redirectPath = '/';
 | 
			
		||||
    protected string $redirectTo = '/';
 | 
			
		||||
    protected string $redirectPath = '/';
 | 
			
		||||
 | 
			
		||||
    protected SocialAuthService $socialAuthService;
 | 
			
		||||
    protected LoginService $loginService;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -35,11 +35,9 @@ class RegisterController extends Controller
 | 
			
		|||
 | 
			
		||||
    /**
 | 
			
		||||
     * Where to redirect users after login / registration.
 | 
			
		||||
     *
 | 
			
		||||
     * @var string
 | 
			
		||||
     */
 | 
			
		||||
    protected $redirectTo = '/';
 | 
			
		||||
    protected $redirectPath = '/';
 | 
			
		||||
    protected string $redirectTo = '/';
 | 
			
		||||
    protected string $redirectPath = '/';
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new controller instance.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,9 +16,9 @@ use Laravel\Socialite\Contracts\User as SocialUser;
 | 
			
		|||
 | 
			
		||||
class SocialController extends Controller
 | 
			
		||||
{
 | 
			
		||||
    protected $socialAuthService;
 | 
			
		||||
    protected $registrationService;
 | 
			
		||||
    protected $loginService;
 | 
			
		||||
    protected SocialAuthService $socialAuthService;
 | 
			
		||||
    protected RegistrationService $registrationService;
 | 
			
		||||
    protected LoginService $loginService;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * SocialController constructor.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,8 +15,8 @@ use Illuminate\Validation\Rules\Password;
 | 
			
		|||
 | 
			
		||||
class UserInviteController extends Controller
 | 
			
		||||
{
 | 
			
		||||
    protected $inviteService;
 | 
			
		||||
    protected $userRepo;
 | 
			
		||||
    protected UserInviteService $inviteService;
 | 
			
		||||
    protected UserRepo $userRepo;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Create a new controller instance.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue