Update Oauth2.php

tokeninfo() requires array input, throws error with no input.
Thus $optParams variable name is deceptive as it is not optional.

Updated variable names, removed default variable declaration as it always causes exceptions to be thrown.
Updated commented function description to reflect variable names, their required types, and how to pass them to this function.