DOC: Validate parameter types in docstrings (e.g. str instead of string)
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`

Related to #20298. Fixes the bullet "Using string, boolean, integer in the param descriptions (should be str, bool, int)".