hover with return type
commit03a869135e68ebb614eef03186318722171506ec
authorTatiana Racheva <tatianaracheva@fb.com>
Tue, 3 Jul 2018 15:40:40 +0000 (3 08:40 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 3 Jul 2018 15:43:01 +0000 (3 08:43 -0700)
tree0f08372ad5f519b0376e2282842908d9edc81628
parent55816f63380dc62872d8b6bdbb8da28d571beb50
hover with return type

Summary: Adding a section to show the return type to the hover addendum, between the doc block and the full name. The reason behind this is because the return type in the snippet may not be visible if the editor truncates the snippet.

Reviewed By: vassilmladenov

Differential Revision: D8705272

fbshipit-source-id: 7a6c332a9d0472500988933009c018026da7b3db
hphp/hack/src/server/serverHover.ml
hphp/hack/test/integration_ml/test_server_hover.ml