I still haven't gotten the hang of this. The last two commits are the current PR, the previous ones were for my previous PR which got @merged. I'll have to figure a way of resync-ing my fork.
Added return type-hints.
Tweaked the docblocks to better match how the methods are being used. In some places, this includes removing docblock information which contradicted how the method was being used.
Fixed a misnamed variable from my previous pull request. $role_id to $roleId in UserRepository.php
I still haven't gotten the hang of this. The last two commits are the current PR, the previous ones were for my previous PR which got @merged. I'll have to figure a way of resync-ing my fork.