You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Replace Array return types with TypedArray
This commit is contained in:
@@ -526,8 +526,8 @@ String GDScriptSyntaxHighlighter::_get_name() const {
|
||||
return "GDScript";
|
||||
}
|
||||
|
||||
Array GDScriptSyntaxHighlighter::_get_supported_languages() const {
|
||||
Array languages;
|
||||
PackedStringArray GDScriptSyntaxHighlighter::_get_supported_languages() const {
|
||||
PackedStringArray languages;
|
||||
languages.push_back("GDScript");
|
||||
return languages;
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ public:
|
||||
virtual Dictionary _get_line_syntax_highlighting_impl(int p_line) override;
|
||||
|
||||
virtual String _get_name() const override;
|
||||
virtual Array _get_supported_languages() const override;
|
||||
virtual PackedStringArray _get_supported_languages() const override;
|
||||
|
||||
virtual Ref<EditorSyntaxHighlighter> _create() const override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user