Page MenuHomePhabricator

Improve atomizing of PHP `@return` annotation
ClosedPublic

Authored by joshuaspence on Jan 22 2015, 8:04 PM.
Tags
None
Referenced Files
F15451497: D11469.id.diff
Fri, Mar 28, 10:24 PM
F15428115: D11469.diff
Sun, Mar 23, 6:37 PM
F15414382: D11469.id27565.diff
Thu, Mar 20, 12:21 AM
F15333421: D11469.diff
Mar 8 2025, 2:19 AM
Unknown Object (File)
Feb 24 2025, 11:32 AM
Unknown Object (File)
Feb 18 2025, 5:32 PM
Unknown Object (File)
Feb 18 2025, 5:31 PM
Unknown Object (File)
Feb 8 2025, 1:33 AM
Subscribers

Details

Summary

Fixes T6890. This doesn't feel like a perfect solution, but I can't think of any cases in which this will produce the wrong result either.

Test Plan

Ran ./bin/diviner generate and checked the generated documentation for PhabricatorCommonPasswords::loadWordlist(). The return type was corrected shown as map<string, bool>.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Improve atomizing of PHP `@return` annotation.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

Yeah, this was my thought too. Feels sketchy, but I also couldn't come up with any cases where it produces the wrong behavior.

This revision is now accepted and ready to land.Jan 22 2015, 8:17 PM
This revision was automatically updated to reflect the committed changes.