aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/query/highlights/php/types.php2
-rw-r--r--tests/query/highlights/php/variables.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/query/highlights/php/types.php b/tests/query/highlights/php/types.php
index 5985d6361..67a1c2f43 100644
--- a/tests/query/highlights/php/types.php
+++ b/tests/query/highlights/php/types.php
@@ -2,7 +2,7 @@
function b(int $a, string $b): Foo\Dog {}
// ^^^ @type.builtin
-// ^^ @variable
+// ^^ @variable.parameter
// ^^^^^^ @type.builtin
// ^^^ @module
// ^^^ @type
diff --git a/tests/query/highlights/php/variables.php b/tests/query/highlights/php/variables.php
index a9c099ff2..f6477e131 100644
--- a/tests/query/highlights/php/variables.php
+++ b/tests/query/highlights/php/variables.php
@@ -2,7 +2,7 @@
class A {
public function foo(self $a): self {
-// ^ @variable
+// ^ @variable.parameter
new self();
// ^^^^ @constructor
new static();