Improved hover docs for __Deprecated
commita647a9ee35034b3f84c1051ce2042666e9eb7123
authorRodrigo Muñoz <rmk@fb.com>
Wed, 16 Mar 2022 22:37:30 +0000 (16 15:37 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Wed, 16 Mar 2022 22:37:30 +0000 (16 15:37 -0700)
treeb990e64bb6e5f4de36b32978a32dfa1165d2a5c5
parentae553ab7f8846509513529c534d0891407d2c877
Improved hover docs for __Deprecated

Summary:
Use more precise language: it's a sample rate (not a rate limit) that raises notices.

Document that the sample rate argument defaults to 1 if omitted, and 0 can be used to disable runtime logging.

Reviewed By: viratyosin

Differential Revision: D34938717

fbshipit-source-id: 73d2930eb41a3f67383ea693dd94155c4d027429
hphp/hack/src/server/serverHover.ml