Add type of the variables to the docs

@LukasReschke @MorrisJobke 
use `array $usersIds`?