Skip to content

Commit

Permalink
Use right type in the binding of DocCache::classes
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomShaper committed Jun 2, 2023
1 parent 2e273f0 commit f9836fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/editor_help.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class DocCache : public Resource {
ClassDB::bind_method(D_METHOD("get_classes"), &DocCache::get_classes);

ADD_PROPERTY(PropertyInfo(Variant::STRING, "version_hash"), "set_version_hash", "get_version_hash");
ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "classes"), "set_classes", "get_classes");
ADD_PROPERTY(PropertyInfo(Variant::ARRAY, "classes"), "set_classes", "get_classes");
}

public:
Expand Down

0 comments on commit f9836fe

Please sign in to comment.