@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | * Log a user into the application without sessions or cookies. |
| 71 | 71 | * |
| 72 | 72 | * @param array $credentials |
| 73 | - * @return bool |
|
| 73 | + * @return boolean|null |
|
| 74 | 74 | */ |
| 75 | 75 | public function once(array $credentials = []) |
| 76 | 76 | { |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | * |
| 141 | 141 | * @param mixed $id |
| 142 | 142 | * @param bool $remember |
| 143 | - * @return \Illuminate\Contracts\Auth\Authenticatable |
|
| 143 | + * @return string |
|
| 144 | 144 | */ |
| 145 | 145 | public function loginUsingId($id, $remember = false) |
| 146 | 146 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * Determine if the user was authenticated via "remember me" cookie. |
| 154 | 154 | * |
| 155 | - * @return bool |
|
| 155 | + * @return boolean|null |
|
| 156 | 156 | */ |
| 157 | 157 | public function viaRemember() |
| 158 | 158 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | use Illuminate\Contracts\Auth\Authenticatable; |
| 4 | 4 | use Illuminate\Contracts\Auth\Guard; |
| 5 | -use Illuminate\Http\Request; |
|
| 6 | 5 | use Koodzo\Models\Db\User; |
| 7 | 6 | use Tymon\JWTAuth\JWTAuth; |
| 8 | 7 | |