Page MenuHomePhabricator

Improve atomizing of PHP `@return` annotation
ClosedPublic

Authored by joshuaspence on Jan 22 2015, 8:04 PM.
Tags
None
Referenced Files
F14047657: D11469.id.diff
Thu, Nov 14, 4:48 AM
F14044620: D11469.id.diff
Tue, Nov 12, 6:48 PM
F14025493: D11469.id27565.diff
Thu, Nov 7, 6:31 PM
F14017471: D11469.diff
Mon, Nov 4, 5:25 PM
F13999230: D11469.diff
Thu, Oct 24, 1:35 PM
F13962087: D11469.id27572.diff
Oct 15 2024, 8:02 AM
Unknown Object (File)
Oct 11 2024, 7:02 AM
Unknown Object (File)
Oct 3 2024, 2:37 PM
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.