Closed jchaffraix-slack closed 1 year ago
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
This is great! We first need to update our internal WWW codebase to be forwards and backwards compatible with the type errors that this change exposes. I have a diff (D42806636) up to do that.
@Wilfred merged this pull request in facebook/hhvm@8ac98e8a2149e01e3ef417fe54ab90f620ad3b86.
This updates this function to return null instead of false on error. This allows typing the return as
?string
instead ofmixed
.Also fixed a return mismatch between builtins_zip.hhi and the extension that was reported by some Slack engineer.