Fixed #19703 -- Typo in get_declared_fields docstring