docs: use Integer instead of Int in type constraints
Merge pull request #8052 from rfourquet/docfix-integer

docs: use Integer instead of Int in type constraints