aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/php/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/alpha/php/lsp.lua')
-rw-r--r--lua/alpha/php/lsp.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/alpha/php/lsp.lua b/lua/alpha/php/lsp.lua
index 6845d1c..506ed40 100644
--- a/lua/alpha/php/lsp.lua
+++ b/lua/alpha/php/lsp.lua
@@ -20,9 +20,9 @@ lsp.get_lsp_buffer = function(server_name)
return buffers[1]
end
---- @param search string: fully name to search Class::method
-lsp.find = function(search, client)
- search = vim.split(search, "::")
+--- @param fqn string: fully name to search Class::method
+lsp.find = function(fqn, client)
+ local search = vim.split(fqn, "::")
local fqn_class = search[1]
local method = search[2]