X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/1ee3e779e4b9b0a92f701a72f21a72c83cb1ce68..refs/pull/1667/head:/app/Http/Controllers/Auth/RegisterController.php diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php index 3b9738835..70090fed0 100644 --- a/app/Http/Controllers/Auth/RegisterController.php +++ b/app/Http/Controllers/Auth/RegisterController.php @@ -193,14 +193,14 @@ class RegisterController extends Controller /** * The callback for social login services. - * @param $socialDriver * @param Request $request + * @param string $socialDriver * @return RedirectResponse|Redirector * @throws SocialSignInException * @throws UserRegistrationException * @throws SocialDriverNotConfigured */ - public function socialCallback($socialDriver, Request $request) + public function socialCallback(Request $request, string $socialDriver) { if (!session()->has('social-callback')) { throw new SocialSignInException(trans('errors.social_no_action_defined'), '/login');