12
12
use SymfonyCasts \Bundle \ResetPassword \Exception \ExpiredResetPasswordTokenException ;
13
13
use SymfonyCasts \Bundle \ResetPassword \Exception \InvalidResetPasswordTokenException ;
14
14
use SymfonyCasts \Bundle \ResetPassword \Exception \TooManyPasswordRequestsException ;
15
- use SymfonyCasts \Bundle \ResetPassword \Generator \ResetPasswordTokenGenerator ;
15
+ use SymfonyCasts \Bundle \ResetPassword \Generator \ResetPasswordTokenGeneratorInterface ;
16
16
use SymfonyCasts \Bundle \ResetPassword \Model \ResetPasswordRequestInterface ;
17
17
use SymfonyCasts \Bundle \ResetPassword \Model \ResetPasswordToken ;
18
18
use SymfonyCasts \Bundle \ResetPassword \Persistence \ResetPasswordRequestRepositoryInterface ;
19
- use SymfonyCasts \Bundle \ResetPassword \Util \ResetPasswordCleaner ;
19
+ use SymfonyCasts \Bundle \ResetPassword \Util \ResetPasswordCleanerInterface ;
20
20
21
21
/**
22
22
* @author Jesse Rushlow <[email protected] >
@@ -34,8 +34,8 @@ final class ResetPasswordHelper implements ResetPasswordHelperInterface
34
34
* @param int $requestThrottleTime Another password reset cannot be made faster than this throttle time in seconds
35
35
*/
36
36
public function __construct (
37
- private ResetPasswordTokenGenerator $ generator ,
38
- private ResetPasswordCleaner $ cleaner ,
37
+ private ResetPasswordTokenGeneratorInterface $ generator ,
38
+ private ResetPasswordCleanerInterface $ cleaner ,
39
39
private ResetPasswordRequestRepositoryInterface $ repository ,
40
40
private int $ resetRequestLifetime ,
41
41
private int $ requestThrottleTime ,
0 commit comments