fix: usage of user interface in eventhandler
- Updated PHPStan version from 1.11.8 to 1.12.13 in phars.xml
- Changed User class interfaces in the event handlers from QUI\Users\User to QUI\Interfaces\Users\User
- Also, added additional checks and updated function parameters for type consistency.