please add type information to the phpdoc

ie `@param string $user`