google/google-api-php-client — pull request #271 by kiseido (2014-07-28 02:56:45+00:00)
Title: 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.