[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phpinspect 9a317473b7 2/3: Synchronously index classes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/phpinspect 9a317473b7 2/3: Synchronously index classes when fetching for eldoc hints |
Date: |
Mon, 5 Aug 2024 03:59:23 -0400 (EDT) |
branch: externals/phpinspect
commit 9a317473b72c97fc3d9022bd9f677d28ec7fd96b
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>
Synchronously index classes when fetching for eldoc hints
---
phpinspect-eldoc.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/phpinspect-eldoc.el b/phpinspect-eldoc.el
index d8a85ec2c6..613c1c4df0 100644
--- a/phpinspect-eldoc.el
+++ b/phpinspect-eldoc.el
@@ -70,7 +70,7 @@ be implemented for return values of
`phpinspect-eld-strategy-execute'")
(when type-before
(let ((class (phpinspect-project-get-class-extra-or-create
(phpinspect--resolvecontext-project rctx)
- type-before))
+ type-before 'no-enqueue))
(attribute-name (cadadr attrib))
variable method result)
(when attribute-name
@@ -177,7 +177,8 @@ be implemented for return values of
`phpinspect-eld-strategy-execute'")
(method-name-sym (phpinspect-intern-name (cadadr
(phpinspect-meta-token (car match-result)))))
(class (phpinspect-project-get-class-extra-or-create
(phpinspect--resolvecontext-project rctx)
- type-of-previous-statement))
+ type-of-previous-statement
+ 'no-enqueue))
(method (if static
(phpinspect--class-get-static-method class
method-name-sym)
(phpinspect--class-get-method class
method-name-sym))))