@@ -21,7 +21,7 @@ |
||
21 | 21 | * Assign the given role to the user. |
22 | 22 | * |
23 | 23 | * @param string $role |
24 | - * @return mixed |
|
24 | + * @return \Illuminate\Database\Eloquent\Model |
|
25 | 25 | */ |
26 | 26 | public function assignRole($role) |
27 | 27 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * |
62 | 62 | * @param Registration $request |
63 | 63 | * |
64 | - * @return mixed |
|
64 | + * @return \Illuminate\Http\RedirectResponse |
|
65 | 65 | */ |
66 | 66 | public function handleRegister(Registration $request) |
67 | 67 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * Log the user out. |
86 | 86 | * |
87 | - * @return mixed |
|
87 | + * @return \Illuminate\Http\RedirectResponse |
|
88 | 88 | */ |
89 | 89 | public function logout() |
90 | 90 | { |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | * |
60 | 60 | * @param null|string $provider |
61 | 61 | * |
62 | - * @return mixed |
|
62 | + * @return \Illuminate\Http\RedirectResponse |
|
63 | 63 | */ |
64 | 64 | public function callback($provider = null) |
65 | 65 | { |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * |
90 | 90 | * @param $socialUser |
91 | 91 | * |
92 | - * @return mixed |
|
92 | + * @return \NukaCode\Users\Models\User |
|
93 | 93 | */ |
94 | 94 | private function register($socialUser) |
95 | 95 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | /** |
117 | 117 | * Log the user out. |
118 | 118 | * |
119 | - * @return mixed |
|
119 | + * @return \Illuminate\Http\RedirectResponse |
|
120 | 120 | */ |
121 | 121 | public function logout() |
122 | 122 | { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | /** |
130 | 130 | * Find the provider's driver, scopes and extras based on a given provider name. |
131 | 131 | * |
132 | - * @param $provider |
|
132 | + * @param null|string $provider |
|
133 | 133 | * |
134 | 134 | * @throws \Exception |
135 | 135 | */ |