The Tallier class has several abstract methods, with sparse documentation about how they should be overridden.
We should do the following for each one:
- Document what the method does
- Ensure any parameters are still documented
- Document the return type
- Add return type declarations where possible (this potentially breaking should be safe since there don't appear to be any subclasses outside of SecurePoll: https://codesearch.wmcloud.org/search/?q=extends%20Tallier&i=nope&files=&excludeFiles=&repos=)
Then, for each of these methods implemented in each subclass, we should:
- Ensure the return type declarations are consistent with the parent
- Use the @inheritDoc annotation instead of repeating the documentation