summaryrefslogtreecommitdiff
path: root/ale_linters
diff options
context:
space:
mode:
authorhaginaga <haginaga@unetworks.jp>2018-05-27 22:45:43 +0900
committerhaginaga <haginaga@unetworks.jp>2018-05-27 22:45:43 +0900
commitae8dd39760f1d6e3d9a8110c1d2ec1e2034131c5 (patch)
tree6fde833c81d18bddac328104e080b50bb3b208db /ale_linters
parentfeab49428664e80c5814ec340835a0109bc90109 (diff)
downloadale-ae8dd39760f1d6e3d9a8110c1d2ec1e2034131c5.zip
Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handle
Diffstat (limited to 'ale_linters')
-rw-r--r--ale_linters/php/phan.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/php/phan.vim b/ale_linters/php/phan.vim
index ce5cadcb..c6f16356 100644
--- a/ale_linters/php/phan.vim
+++ b/ale_linters/php/phan.vim
@@ -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],