Style issues and small refactor into parameterValidation
Style issues and small refactor into parameterValidation

matrix-org/matrix-appservice-irc,matrix-org/matrix-appservice-irc,matrix-org/matrix-appservice-irc