From adb2cc07c8afec30aed627c5af192f9efcdd207f Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Fri, 12 Nov 2021 09:55:31 +0100 Subject: replace tab by space --- lua/alpha/refactor.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/alpha') 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, " */") -- cgit v1.2.3