You can return a list here, since it's a private method and it's gonna be added to warningsErrors directly