Fix PHP smart brace hook for static method

This commit is contained in:
Camille Dejoye 2020-11-17 13:48:57 +01:00
parent f3d122d9b1
commit 2c997ed781

View File

@ -3,7 +3,7 @@ function! s:dealWithMethodArguments(container) abort " {{{
return 0
endif
if a:container.prefix !~? '\v^%(public|protected|private)\s+function\s+\S+\s*\($'
if a:container.prefix !~? '\v^%(public|protected|private)(\s+static)?\s+function\s+\S+\s*\($'
return 0
endif