A quick fix is available to remove the unnecessary parentheses.
Example:
class Example # Unnecessary parentheses in function type def call: () -> untyped end
After the quick fix:
class Example def call: -> untyped end