Fix syntax on async stub methods
commit6c819a3c79101ccdcf196feac85216403bad9fe9
authorWilfred Hughes <wilfred@fb.com>
Thu, 5 May 2022 18:11:08 +0000 (5 11:11 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 5 May 2022 18:11:08 +0000 (5 11:11 -0700)
tree12ea0ffaeb606d2cb8da91d271a56c3b7f645612
parent4f6a905186a763dc47085124d2b4188228dfc37a
Fix syntax on async stub methods

Summary: `async` needs to be the last modifier before the method name. Ensure we always put `async` last in stub methods.

Reviewed By: hgoldstein

Differential Revision: D36019018

fbshipit-source-id: a30df12695b371ca74a3828eeec7c4d64810f87c
hphp/hack/src/typing/typing_skeleton.ml
hphp/hack/test/quickfixes/missing_static_async_method.php [new file with mode: 0644]
hphp/hack/test/quickfixes/missing_static_async_method.php.exp [new file with mode: 0644]