Skip to content

Commit 0bbdc46

Browse files
committed
Add "type" to php-phpdoc-type-tags as "phpstan-type"
1 parent 44601ab commit 0bbdc46

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lisp/php-mode.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1294,7 +1294,9 @@ for \\[find-tag] (which see)."
12941294

12951295
(defconst php-phpdoc-type-tags
12961296
(list "package" "param" "property" "property-read" "property-write"
1297-
"return" "throws" "var" "self-out" "this-out" "param-out"))
1297+
"return" "throws" "var" "self-out" "this-out" "param-out"
1298+
"type")
1299+
"A list of tags specifying type names.")
12981300

12991301
(defconst php-phpdoc-font-lock-doc-comments
13001302
`(("{@[-[:alpha:]]+\\s-*\\([^}]*\\)}" ; "{@foo ...}" markup.

0 commit comments

Comments
 (0)