aboutsummaryrefslogtreecommitdiff
path: root/modules/gdscript/gd_functions.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-19 10:00:20 +0200
committerGitHub2017-07-19 10:00:20 +0200
commitc5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2 (patch)
tree540f8232f44a6fdc0646a6f3410fb644922d5cab /modules/gdscript/gd_functions.cpp
parent1f91c2908e7c551c20dc00d88212e0aaad44f4cf (diff)
parent49c7620326a557bc809340dd1090b46120e43eac (diff)
downloadgodot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.gz
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.zst
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.zip
Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
Diffstat (limited to 'modules/gdscript/gd_functions.cpp')
-rw-r--r--modules/gdscript/gd_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_functions.cpp b/modules/gdscript/gd_functions.cpp
index a361971ef..8bc3b24a5 100644
--- a/modules/gdscript/gd_functions.cpp
+++ b/modules/gdscript/gd_functions.cpp
@@ -1587,13 +1587,13 @@ MethodInfo GDFunctions::get_info(Function p_func) {
} break;
case TO_JSON: {
- MethodInfo mi("to_json", PropertyInfo(Variant::NIL, "var:Variant"));
+ MethodInfo mi("to_json", PropertyInfo(Variant::NIL, "var"));
mi.return_val.type = Variant::STRING;
return mi;
} break;
case HASH: {
- MethodInfo mi("hash", PropertyInfo(Variant::NIL, "var:Variant"));
+ MethodInfo mi("hash", PropertyInfo(Variant::NIL, "var"));
mi.return_val.type = Variant::INT;
return mi;
} break;