def foo(x, y):
"""A dummy string.
:param int x: x value.
:param str y: y value.
:returns: a result.
:rtype: int
"""
return x + y
def foo(x, y):
"""A dummy string.
:param int x: x value.
:param int y: y value.
:returns: a result.
:rtype: int
"""
return x + y
Please check parameter names in type declarations.