File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -277,9 +277,9 @@ of GitHub.")
277277 (error " Action cancelled " )))
278278 (file (read-file-name label nil default ))
279279 (text (read-string label default ))
280- (choice (completing-read label
281- (cl-loop for (_ v) on choices by #'cddr
282- collect v)))
280+ (( choice list ) (completing-read label
281+ (cl-loop for (_ v) on choices by #'cddr
282+ collect v)))
283283 (t (error " Unknown input type %s " type)))))
284284
285285(defun phpactor-action--collect-inputs (inputs )
@@ -822,5 +822,12 @@ function."
822822 (let ((arguments (phpactor--command-argments :source :path :offset )))
823823 (apply #'phpactor-action-dispatch (phpactor--rpc " change_visibility" arguments))))
824824
825+ ;;;### autoload
826+ (defun phpactor-override-method ()
827+ " Execute Phpactor RPC override_method action."
828+ (interactive )
829+ (let ((arguments (phpactor--command-argments :source :path )))
830+ (apply #'phpactor-action-dispatch (phpactor--rpc " override_method" arguments))))
831+
825832(provide 'phpactor )
826833; ;; phpactor.el ends here
You can’t perform that action at this time.
0 commit comments