@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * Store a newly created resource in storage. |
| 73 | 73 | * |
| 74 | 74 | * @param CreateUserRequest $request |
| 75 | - * @return Response |
|
| 75 | + * @return \Illuminate\Http\RedirectResponse |
|
| 76 | 76 | */ |
| 77 | 77 | public function store(CreateUserRequest $request) |
| 78 | 78 | { |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | * |
| 111 | 111 | * @param int $id |
| 112 | 112 | * @param UpdateUserRequest $request |
| 113 | - * @return Response |
|
| 113 | + * @return \Illuminate\Http\RedirectResponse |
|
| 114 | 114 | */ |
| 115 | 115 | public function update($id, UpdateUserRequest $request) |
| 116 | 116 | { |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | * Remove the specified resource from storage. |
| 128 | 128 | * |
| 129 | 129 | * @param int $id |
| 130 | - * @return Response |
|
| 130 | + * @return \Illuminate\Http\RedirectResponse |
|
| 131 | 131 | */ |
| 132 | 132 | public function destroy($id) |
| 133 | 133 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | - * @return string |
|
| 31 | + * @return boolean |
|
| 32 | 32 | */ |
| 33 | 33 | protected function getApiRoute() |
| 34 | 34 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * Authenticate a user |
| 18 | 18 | * @param array $credentials |
| 19 | 19 | * @param bool $remember Remember the user |
| 20 | - * @return mixed |
|
| 20 | + * @return false|string |
|
| 21 | 21 | */ |
| 22 | 22 | public function login(array $credentials, $remember = false) |
| 23 | 23 | { |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * Authenticate a user |
| 31 | 31 | * @param array $credentials |
| 32 | 32 | * @param bool $remember Remember the user |
| 33 | - * @return mixed |
|
| 33 | + * @return boolean |
|
| 34 | 34 | */ |
| 35 | 35 | public function login(array $credentials, $remember = false) |
| 36 | 36 | { |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | 62 | * Log the user out of the application. |
| 63 | - * @return bool |
|
| 63 | + * @return boolean|null |
|
| 64 | 64 | */ |
| 65 | 65 | public function logout() |
| 66 | 66 | { |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | * @param $user |
| 104 | 104 | * @param string $code |
| 105 | 105 | * @param string $password |
| 106 | - * @return bool |
|
| 106 | + * @return boolean|null |
|
| 107 | 107 | */ |
| 108 | 108 | public function completeResetPassword($user, $code, $password) |
| 109 | 109 | { |
@@ -122,7 +122,7 @@ discard block |
||
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | 124 | * Check if the user is logged in |
| 125 | - * @return mixed |
|
| 125 | + * @return \Illuminate\Contracts\Auth\Authenticatable|null |
|
| 126 | 126 | */ |
| 127 | 127 | public function check() |
| 128 | 128 | { |