thephpleague/oauth2-server — pull request #174 by nothing2lose (2014-05-21 20:42:55+00:00)
Title: fix $scopes does not defined

i'm not sure about php. but it working.