Skip to content

Commit

Permalink
Add return types to partial mode functions
Browse files Browse the repository at this point in the history
Differential Revision: D13832318

Reviewed By: dneiter

fbshipit-source-id: 49dfa6913253d035e265eab3765182599f199a81
  • Loading branch information
DavidSnider authored and facebook-github-bot committed Jan 29, 2019
1 parent 780a2c2 commit 056251d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transform/babel-plugin-fbt/bin/tiger128.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function intl_js_hash_babel7(
return PHP\hash('tiger128,3-fb', $text.':::'.$desc.':');
}

function tiger128_main() {
function tiger128_main(): void {
$stdin = PHP\file_get_contents("php://stdin");
$phrase_hashes = vec[];
foreach (PHP\json_decode($stdin) as $phrase) {
Expand Down

0 comments on commit 056251d

Please sign in to comment.