SymfonyCasts / reset-password-bundle

Need a killer reset password feature for your Symfony? Us too!
https://symfonycasts.com
MIT License
468 stars 65 forks source link

chore: fix type cast in `ResetPasswordRequestRepositoryTrait` when using `declare(strict_types=1);` #263

Closed Crovitche-1623 closed 1 year ago

Crovitche-1623 commented 1 year ago

When using declare(strict_types=1); in ResetPasswordRequestRepositoryTrait, an error occurs on the token generation because the getSingleIdentifierValue method returns a scalar value (in my case an integer because I'm using auto-incremented integers) instead of a string as required by the method.

weaverryan commented 1 year ago

Thanks Thibault!