Consistent type hints for badges

`addNewSiteLink` missed the third option `null`.