Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Commit

Permalink
Merge pull request #26 from alexeyt/alexeyt-typecheck-nightly
Browse files Browse the repository at this point in the history
Typecheck with nightly hh_client
  • Loading branch information
alexeyt authored May 6, 2022
2 parents 5c15ebb + b465a78 commit 306614c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/_Private/get_html_entity_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,8 @@ function get_html_entity_table(): dict<string, string> {
\JSON_FB_HACK_ARRAYS,
);

return Dict\map($data, $x ==> $x['characters']);
return Dict\map(
$data,
(KeyedContainer<arraykey, mixed> $x) ==> $x['characters'] as string,
);
}

0 comments on commit 306614c

Please sign in to comment.