Remove repeated return type in hover
commit466c7094815f4aefbaa1fb8abc5de5195dc66881
authorWilfred Hughes <wilfred@fb.com>
Thu, 24 Feb 2022 00:45:08 +0000 (23 16:45 -0800)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 24 Feb 2022 00:45:08 +0000 (23 16:45 -0800)
tree78728be866081c7e2f7d339a3f0bb6b7978f2a7d
parentfb9b572218c61c39357f3f9709597e142384973f
Remove repeated return type in hover

Summary:
We originally added explicit return type information (see D8705272 (https://github.com/facebook/hhvm/commit/03a869135e68ebb614eef03186318722171506ec)) as IDEs would truncate the signature.

This is no longer a problem, so remove the redundant information.

Reviewed By: hgoldstein

Differential Revision: D34408320

fbshipit-source-id: c8fb3a7d9ef7ab2b840178a726bb1b5012b30660
hphp/hack/src/server/serverHover.ml
hphp/hack/test/hover/expression_tree_call.php.exp
hphp/hack/test/hover/function_call.php [new file with mode: 0644]
hphp/hack/test/hover/function_call.php.exp [new file with mode: 0644]
hphp/hack/test/hover/type_param.php.exp
hphp/hack/test/integration/test_lsp.py
hphp/hack/test/integration_ml/test_funptr.ml
hphp/hack/test/integration_ml/test_server_hover.ml