@@ -8,7 +8,7 @@ interface UserProvider
8
8
* Retrieve a user by their unique identifier.
9
9
*
10
10
* @param mixed $identifier
11
- * @return ( \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model) |null
11
+ * @return \Illuminate\Contracts\Auth\Authenticatable|null
12
12
*/
13
13
public function retrieveById ($ identifier );
14
14
@@ -17,14 +17,14 @@ public function retrieveById($identifier);
17
17
*
18
18
* @param mixed $identifier
19
19
* @param string $token
20
- * @return ( \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model) |null
20
+ * @return \Illuminate\Contracts\Auth\Authenticatable|null
21
21
*/
22
22
public function retrieveByToken ($ identifier , #[\SensitiveParameter] $ token );
23
23
24
24
/**
25
25
* Update the "remember me" token for the given user in storage.
26
26
*
27
- * @param \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model $user
27
+ * @param \Illuminate\Contracts\Auth\Authenticatable $user
28
28
* @param string $token
29
29
* @return void
30
30
*/
@@ -34,14 +34,14 @@ public function updateRememberToken(Authenticatable $user, #[\SensitiveParameter
34
34
* Retrieve a user by the given credentials.
35
35
*
36
36
* @param array $credentials
37
- * @return ( \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model) |null
37
+ * @return \Illuminate\Contracts\Auth\Authenticatable|null
38
38
*/
39
39
public function retrieveByCredentials (#[\SensitiveParameter] array $ credentials );
40
40
41
41
/**
42
42
* Validate a user against the given credentials.
43
43
*
44
- * @param \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model $user
44
+ * @param \Illuminate\Contracts\Auth\Authenticatable $user
45
45
* @param array $credentials
46
46
* @return bool
47
47
*/
@@ -50,7 +50,7 @@ public function validateCredentials(Authenticatable $user, #[\SensitiveParameter
50
50
/**
51
51
* Rehash the user's password if required and supported.
52
52
*
53
- * @param \Illuminate\Contracts\Auth\Authenticatable&\Illuminate\Database\Eloquent\Model $user
53
+ * @param \Illuminate\Contracts\Auth\Authenticatable $user
54
54
* @param array $credentials
55
55
* @param bool $force
56
56
* @return void
0 commit comments