From b5a29fdce195ab47edd61d1d684def1ac919297c Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Wed, 22 Feb 2023 05:42:28 +0100 Subject: [PATCH] fix: remove nullable annotation in Kotlin code Signed-off-by: oSumAtrIX --- .../main/java/app/revanced/twitter/patches/hook/patch/Hook.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/app/revanced/twitter/patches/hook/patch/Hook.kt b/app/src/main/java/app/revanced/twitter/patches/hook/patch/Hook.kt index 3cf57c2f..b57c4077 100644 --- a/app/src/main/java/app/revanced/twitter/patches/hook/patch/Hook.kt +++ b/app/src/main/java/app/revanced/twitter/patches/hook/patch/Hook.kt @@ -1,11 +1,9 @@ package app.revanced.twitter.patches.hook.patch -import androidx.annotation.NonNull - interface Hook { /** * Hook the given type. * @param type The type to hook */ - fun hook(@NonNull type: T): T + fun hook(type: T): T } \ No newline at end of file