From c96bb2c0bcdb56f442f744c859cb8f46ccc350f8 Mon Sep 17 00:00:00 2001 From: varttist Date: Tue, 17 Nov 2026 21:35:05 +0300 Subject: [PATCH] `Class`: minor formal changes --- mods/SYSTEM/Class/init.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mods/SYSTEM/Class/init.lua b/mods/SYSTEM/Class/init.lua index 6bf2726..3727d33 100644 --- a/mods/SYSTEM/Class/init.lua +++ b/mods/SYSTEM/Class/init.lua @@ -16,7 +16,8 @@ end ---@generic T:table ---@param self T Parent class. ---@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 function Class.getInstance(self, params, metatable) if metatable == nil then @@ -28,4 +29,4 @@ function Class.getInstance(self, params, metatable) local instance = setmetatable(params, metatable) return instance -end \ No newline at end of file +end