Browse Source

Merge pull request #80303 from raulsntos/dotnet/warnings/CS1572

C#: Fix typo in parameter name in documentation
Rémi Verschelde 2 years ago
parent
commit
750f1a66b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mono/editor/bindings_generator.cpp

+ 1 - 1
modules/mono/editor/bindings_generator.cpp

@@ -1767,7 +1767,7 @@ Error BindingsGenerator::_generate_cs_type(const TypeInterface &itype, const Str
 			   << INDENT1 "/// This method is used by Godot to check if a signal exists before raising it.\n"
 			   << INDENT1 "/// Do not call or override this method.\n"
 			   << INDENT1 "/// </summary>\n"
-			   << INDENT1 "/// <param name=\"method\">Name of the method to check for.</param>\n";
+			   << INDENT1 "/// <param name=\"signal\">Name of the signal to check for.</param>\n";
 
 		output << MEMBER_BEGIN "protected internal " << (is_derived_type ? "override" : "virtual")
 			   << " bool " CS_METHOD_HAS_GODOT_CLASS_SIGNAL "(in godot_string_name signal)\n"