Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handle

This commit is contained in:
haginaga 2018-05-27 22:45:43 +09:00
parent feab494286
commit ae8dd39760
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function! ale_linters#php#phan#Handle(buffer, lines) abort
let l:output = []
for l:match in ale#util#GetMatches(a:lines, l:pattern)
if ale#Var('php_phan_use_client') == 1
if ale#Var(a:buffer, 'php_phan_use_client') == 1
let l:dict = {
\ 'lnum': l:match[4] + 0,
\ 'text': l:match[2],