aboutsummaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
Diffstat (limited to 'queries')
-rw-r--r--queries/php/injections.scm2
-rw-r--r--queries/phpdoc/highlights.scm3
2 files changed, 3 insertions, 2 deletions
diff --git a/queries/php/injections.scm b/queries/php/injections.scm
index 365bcf5..1858933 100644
--- a/queries/php/injections.scm
+++ b/queries/php/injections.scm
@@ -2,7 +2,7 @@
(function_call_expression
(
(name) @_function (#eq? @_function "json_decode")
- (arguments (argument (string (string_value) @json )))
+ (arguments (argument (string (string_content) @json )))
)
)
diff --git a/queries/phpdoc/highlights.scm b/queries/phpdoc/highlights.scm
index ff014dc..4c46c0a 100644
--- a/queries/phpdoc/highlights.scm
+++ b/queries/phpdoc/highlights.scm
@@ -1,10 +1,11 @@
;;extends
(tag
- (type_list
+ (intersection_type
(named_type
(name) @typeName (#eq? @typeName "Promise")
)
)
(description) @type
)
+