zfcampus/zf-oauth2 — pull request #56 by Rockstar04 (2014-08-06 13:29:43+00:00)
Title: Ensure bodyParams is an array before creating request

We are using several pieces from Apigility to build our internal API and I am seeing this error every once in a while on NewRelic.

While this patch dosent seem to get to the root cause, it does let the application continue on.

Error: Argument 2 passed to OAuth2\Request::__construct() must be of the type array, null given, called in /var/www/web-site/releases/20140805145036/vendor/zfcampus/zf-oauth2/src/Controller/AuthController.php on line 211 and defined