From 48f17481435380bc6ef30659c46685a8d911efb4 Mon Sep 17 00:00:00 2001 From: takeokunn Date: Thu, 3 Nov 2022 19:18:37 +0900 Subject: [PATCH 1/2] Add @param-out keyword --- lisp/php-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/php-mode.el b/lisp/php-mode.el index 9f9af9e2..3169bc9b 100644 --- a/lisp/php-mode.el +++ b/lisp/php-mode.el @@ -1287,7 +1287,7 @@ for \\[find-tag] (which see)." "never" "never-return" "never-returns" "no-return" "non-empty-array" "non-empty-list" "non-empty-string" "non-falsy-string" "numeric" "numeric-string" "positive-int" "scalar" - "trait-string" "truthy-string")) + "trait-string" "truthy-string" "param-out")) (defconst php-phpdoc-type-tags (list "package" "param" "property" "property-read" "property-write" From 55b58fe10878a099b0de957cd04023cf352a1aa3 Mon Sep 17 00:00:00 2001 From: takeokunn Date: Thu, 3 Nov 2022 19:37:59 +0900 Subject: [PATCH 2/2] Fix --- lisp/php-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/php-mode.el b/lisp/php-mode.el index 3169bc9b..d90cad28 100644 --- a/lisp/php-mode.el +++ b/lisp/php-mode.el @@ -1287,11 +1287,11 @@ for \\[find-tag] (which see)." "never" "never-return" "never-returns" "no-return" "non-empty-array" "non-empty-list" "non-empty-string" "non-falsy-string" "numeric" "numeric-string" "positive-int" "scalar" - "trait-string" "truthy-string" "param-out")) + "trait-string" "truthy-string")) (defconst php-phpdoc-type-tags (list "package" "param" "property" "property-read" "property-write" - "return" "throws" "var" "self-out" "this-out")) + "return" "throws" "var" "self-out" "this-out" "param-out")) (defconst php-phpdoc-font-lock-doc-comments `(("{@[-[:alpha:]]+\\s-*\\([^}]*\\)}" ; "{@foo ...}" markup.