Class: minor formal changes

This commit is contained in:
Van
2026-11-17 21:35:05 +03:00
parent 9fa3a0aff7
commit c96bb2c0bc

View File

@@ -16,7 +16,8 @@ end
---@generic T:table ---@generic T:table
---@param self T Parent class. ---@param self T Parent class.
---@param params table Child object parameters. ---@param params table Child object parameters.
---@param metatable table? The table that will become the metatable for the object. Note: The `__index` field will be overwritten by a copy of `self`. ---@param metatable table? The table that will become the metatable for the object.
--- Note: The `__index` field will be overwritten by a copy of `self`.
---@return T ---@return T
function Class.getInstance(self, params, metatable) function Class.getInstance(self, params, metatable)
if metatable == nil then if metatable == nil then