diff options
Diffstat (limited to 'lua/alpha')
| -rw-r--r-- | lua/alpha/refactor.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lua/alpha/refactor.lua b/lua/alpha/refactor.lua index d583e59..cbb3235 100644 --- a/lua/alpha/refactor.lua +++ b/lua/alpha/refactor.lua @@ -118,18 +118,18 @@ M.setter_getter = function() table.insert(insert, "") if (comment ~= nil) then table.insert(insert, " /**") - table.insert(insert, string.format("\t * @return %s", comment)) + table.insert(insert, string.format(" * @return %s", comment)) table.insert(insert, " */") end - table.insert(insert, string.format("\tpublic function get%s(): %s", firstToUpper(variable), varType)) + table.insert(insert, string.format(" public function get%s(): %s", firstToUpper(variable), varType)) table.insert(insert, " {") - table.insert(insert, string.format("\t\treturn $this->%s;", variable)) + table.insert(insert, string.format(" return $this->%s;", variable)) table.insert(insert, " }") table.insert(insert, "") if (comment ~= nil) then table.insert(insert, " /**") - table.insert(insert, string.format("\t * @param %s %s", comment, p.property_element)) + table.insert(insert, string.format(" * @param %s %s", comment, p.property_element)) table.insert(insert, " *") table.insert(insert, " * @return self") table.insert(insert, " */") |