diff --git a/lockfile.json b/lockfile.json index 50ca6113a..fe80671aa 100644 --- a/lockfile.json +++ b/lockfile.json @@ -453,7 +453,7 @@ "revision": "e3002a11a72773bbaf3bab0e59fb64e6992b79ab" }, "phpdoc": { - "revision": "eb9ef97a1a9a6489d003a45a36a9edbcc8177087" + "revision": "67db260cf4e99a02283ae26b808d59b86d42dc0f" }, "pioasm": { "revision": "924aadaf5dea2a6074d72027b064f939acf32e20" diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm index 5e96e93cc..418853813 100644 --- a/queries/phpdoc/highlights.scm +++ b/queries/phpdoc/highlights.scm @@ -23,7 +23,7 @@ (parameter (variable_name) @variable.parameter) -(type_list +(union_type [ (array_type) (primitive_type) @@ -31,7 +31,7 @@ (optional_type) ] @type) -(type_list) @nospell +(union_type) @nospell (variable_name) @nospell @@ -48,7 +48,7 @@ (tag (email_address) @string.special.url) -(type_list +(union_type "|" @keyword) (variable_name