File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Authentication/RememberMe Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -23,32 +23,24 @@ interface TokenProviderInterface
23
23
/**
24
24
* Loads the active token for the given series.
25
25
*
26
- * @return PersistentTokenInterface
27
- *
28
26
* @throws TokenNotFoundException if the token is not found
29
27
*/
30
- public function loadTokenBySeries (string $ series );
28
+ public function loadTokenBySeries (string $ series ): PersistentTokenInterface ;
31
29
32
30
/**
33
31
* Deletes all tokens belonging to series.
34
- *
35
- * @return void
36
32
*/
37
- public function deleteTokenBySeries (string $ series );
33
+ public function deleteTokenBySeries (string $ series ): void ;
38
34
39
35
/**
40
36
* Updates the token according to this data.
41
37
*
42
- * @return void
43
- *
44
38
* @throws TokenNotFoundException if the token is not found
45
39
*/
46
- public function updateToken (string $ series , #[\SensitiveParameter] string $ tokenValue , \DateTimeInterface $ lastUsed );
40
+ public function updateToken (string $ series , #[\SensitiveParameter] string
6371
$ tokenValue , \DateTimeInterface $ lastUsed ): void ;
47
41
48
42
/**
49
43
* Creates a new token.
50
- *
51
- * @return void
52
44
*/
53
- public function createNewToken (PersistentTokenInterface $ token );
45
+ public function createNewToken (PersistentTokenInterface $ token ): void ;
54
46
}
You can’t perform that action at this time.
0 commit comments