From 6725bef5ce43d62852d43e7eb01082f7721cd728 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Sun, 20 Nov 2022 15:14:25 +0200 Subject: highlights(hack): fix captures --- tests/query/highlights/hack/generics.hack | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/query/highlights/hack') 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 { // ^ 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 -- cgit v1.2.3-70-g09d2