[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/phpinspect 01d42dc615 3/3: Fix compilation errors
From: |
ELPA Syncer |
Subject: |
[elpa] externals/phpinspect 01d42dc615 3/3: Fix compilation errors |
Date: |
Mon, 2 Sep 2024 18:58:33 -0400 (EDT) |
branch: externals/phpinspect
commit 01d42dc6155302f205853e99ea4aba9fc32ca3bf
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>
Fix compilation errors
---
phpinspect-project.el | 4 ++--
phpinspect-resolve.el | 4 ++--
phpinspect-type.el | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/phpinspect-project.el b/phpinspect-project.el
index eaadf64c6a..32f05609e3 100644
--- a/phpinspect-project.el
+++ b/phpinspect-project.el
@@ -117,8 +117,8 @@ serious performance hits. Enable at your own risk (:")
(dolist (func (alist-get 'functions (cdr index)))
(phpinspect-project-set-function project func))))
-(cl-defmethod phpinspect-project-add-index ((_project phpinspect-project)
index)
- (cl-assert (not index))
+(cl-defmethod phpinspect-project-add-index ((_project phpinspect-project)
_index)
+ (cl-assert (not _index))
(phpinspect--log "phpinspect-project-add-index: ignoring added nil index"))
(cl-defmethod phpinspect-project-set-function
diff --git a/phpinspect-resolve.el b/phpinspect-resolve.el
index 31ddbaf8de..8d7b2bb05c 100644
--- a/phpinspect-resolve.el
+++ b/phpinspect-resolve.el
@@ -632,11 +632,11 @@ CLASS-TOKEN-META as parse result."
nil))))
(cl-defmethod phpi-typedef-resolve-property-type
- ((_typedef phpinspect-typedef) (_project phpinspect-project) property-name
&rest _ignored)
+ ((_typedef phpinspect-typedef) (_project phpinspect-project) _property-name
&rest _ignored)
;; Catch-all for cases where one attempts to resolve a nil property
;; name. Saves an if-statement for the caller.
;; Can't resolve property type when property name is nil, so we do nothing.
- (cl-assert (not property-name))
+ (cl-assert (not _property-name))
nil)
(provide 'phpinspect-resolve)
diff --git a/phpinspect-type.el b/phpinspect-type.el
index 458ba2b190..9b42366210 100644
--- a/phpinspect-type.el
+++ b/phpinspect-type.el
@@ -274,8 +274,8 @@ NAMESPACE may be nil, or a string with a namespace FQN."
(concat self "<" (phpinspect--format-type-name
(phpinspect--type-format-display-name type)) ">")
self)))
-(cl-defmethod phpinspect--display-format-type-name (type)
- (cl-assert (not type))
+(cl-defmethod phpinspect--display-format-type-name (_type)
+ (cl-assert (not _type))
(phpinspect--display-format-type-name "unknown-type"))