DEV: correct argument names for addGlobalNotice (PR #14582)

GitHub