bshaffer/oauth2-server-php — pull request #457 by tozes (2014-09-14 14:31:29+00:00)
Title: Changed the constructor to expect MongoClient instead of legacy MongoDB

The documentation says to use the MongoClient class but without this change it was throwing an error as the constructor was expecting the legacy MongoDB object as parameter: First argument to OAuth2\Storage\Mongo must be an instance of MongoDB or a configuration array.