Removed unnecessary Parameter in ClassHasmethodeWithReturnType.