diff options
Diffstat (limited to 'tests/query/highlights/hack/generics.hack')
| -rw-r--r-- | tests/query/highlights/hack/generics.hack | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/query/highlights/hack/generics.hack b/tests/query/highlights/hack/generics.hack index 06eebc951..9582240b9 100644 --- a/tests/query/highlights/hack/generics.hack +++ b/tests/query/highlights/hack/generics.hack @@ -2,21 +2,21 @@ class Box<T> { // ^ type // ^ type protected T $data; - // ^ keyword + // ^ type.qualifier // ^ type public function __construct(T $data) { // ^ type // ^ parameter // ^ keyword.function - // ^ keyword + // ^ type.qualifier // ^ method $this->data = $data; } public function getData(): T { // ^ method - // ^ keyword + // ^ type.qualifier return $this->data; // ^ operator // ^ variable.builtin |
