branch: externals/phpinspect commit 23b85fca6ad145403f7d8b7df0676a4876b35102 Author: Hugo Thunnissen <de...@hugot.nl> Commit: Hugo Thunnissen <de...@hugot.nl>
Pop variable from arg-list when indexed --- phpinspect-index.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpinspect-index.el b/phpinspect-index.el index 20a27ab08a..015a36a7a5 100644 --- a/phpinspect-index.el +++ b/phpinspect-index.el @@ -55,7 +55,7 @@ (setq param-annotation (phpinspect--find-var-annotation-for-variable comment-before (cadr (car arg-list)) #'phpinspect-param-annotation-p))) - (push (cons (cadr (car arg-list)) + (push (cons (cadr (pop arg-list)) (funcall type-resolver (phpinspect--make-type :name (phpinspect-var-annotation-type param-annotation))))