From 57f46abc7bcbfd0333526e57dcbc38cbaf117b7e Mon Sep 17 00:00:00 2001 From: Lexidor Digital <31805625+lexidor@users.noreply.github.com> Date: Sun, 24 Dec 2023 14:31:11 +0100 Subject: [PATCH] Remove unused local variable once again --- src/__Private/codegen/CodegenSyntax.hack | 1 - 1 file changed, 1 deletion(-) diff --git a/src/__Private/codegen/CodegenSyntax.hack b/src/__Private/codegen/CodegenSyntax.hack index 54638255..1ea84328 100644 --- a/src/__Private/codegen/CodegenSyntax.hack +++ b/src/__Private/codegen/CodegenSyntax.hack @@ -735,7 +735,6 @@ final class CodegenSyntax extends CodegenBase { $base_type = Str\slice($expected_type, 0, $generic_left_angle); $open_generic = $base_type.'<_>'; - $rest = Str\slice($expected_type, $generic_left_angle); $is_node_listy = $base_type === 'NodeList' || $base_type === '?NodeList'; $is_list_itemy = $base_type === 'ListItem' || $base_type === '?ListItem';