Skip docblocks when hovering on declarations
commit87f77ba94928241c66fa2858b8345457d3a70455
authorWilfred Hughes <wilfred@fb.com>
Wed, 30 Mar 2022 18:48:01 +0000 (30 11:48 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 30 Mar 2022 18:48:01 +0000 (30 11:48 -0700)
tree14a4ddcb66d933fb281bcb840b1592cdc4d0b08f
parent08fa5ca607871273b5da5458f5271f49c6c50242
Skip docblocks when hovering on declarations

Summary: Previously we would show docblocks whenever we hovered over a definition, even if we were already at the definition site. This was redundant and slightly confusing.

Reviewed By: hgoldstein

Differential Revision: D35160615

fbshipit-source-id: 08ae8eeee78b50f42c825165a30b1c72dbf63479
hphp/hack/src/server/serverHover.ml
hphp/hack/test/hover/method.php.exp
hphp/hack/test/integration_ml/test_server_hover.ml