Update php-riot-api.php

Its my first pull request, i hope i clicked the right buttons ;)

Everything i did was moving the updateLimitqueue so it checks first, if the request is cached.
That made my script execute in 0.04 sec instead of 35 sec

I hope i didnt miss anything out like unexpected bugs as a result of that little change