fix for thephpleague/oauth2-server#389
fix for thephpleague/oauth2-server#389
juliangut/oauth2-server,ionux/oauth2-server,lookyman/oauth2-server,thephpleague/oauth2-server,gencer/oauth2-server,benito103e/oauth2-server