Skip to content

Commit

Permalink
Remove unused local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lexidor committed Dec 24, 2023
1 parent 0d0a265 commit 8b1692a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/__Private/codegen/CodegenSyntax.hack
Original file line number Diff line number Diff line change
Expand Up @@ -757,9 +757,6 @@ final class CodegenSyntax extends CodegenBase {
$open_generic,
);

$is_a_known_type = $is_node_listy && $rest === '<Node>' ||
$is_list_itemy && $rest === '<?Node>';

return $upper_bound === $expected_type
? $expression.' as '.$open_generic
: $best_effort_fixme;
Expand Down

0 comments on commit 8b1692a

Please sign in to comment.