Skip to content

Commit 44601ab

Browse files
committed
Add "phan" to type tag vendor prefix
1 parent 08776c1 commit 44601ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lisp/php-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1304,7 +1304,7 @@ for \\[find-tag] (which see)."
13041304
(1 'php-doc-variable-sigil prepend nil)
13051305
(2 'php-variable-name prepend nil))
13061306
("\\(\\$\\)\\(this\\)\\>" (1 'php-doc-$this-sigil prepend nil) (2 'php-doc-$this prepend nil))
1307-
(,(concat "\\s-@" (rx (? (or "phpstan" "psalm") "-")) (regexp-opt php-phpdoc-type-tags) "\\s-+"
1307+
(,(concat "\\s-@" (rx (? (or "phan" "phpstan" "psalm") "-")) (regexp-opt php-phpdoc-type-tags) "\\s-+"
13081308
"\\(" (rx (+ (? "?") (? "\\") (+ (in "0-9A-Z_a-z")) (? "[]") (? "|"))) "\\)+")
13091309
1 'php-string prepend nil)
13101310
(,(concat "\\(?:|\\|\\?\\|\\s-\\)\\("

0 commit comments

Comments
 (0)