I've submitted a geocoder-php/geonames-provider#1 within geonames repo.
Given geonames key seems to be missing sometimes from responses, and patch avoids the notice issued by PHP.
The change is simple, I'll be more than happy to change anything if required. Thank you!