Page MenuHomePhorge

Fix invalid return values for void
ClosedPublic

Authored by aklapper on Tue, Apr 29, 11:21.
Tags
None
Referenced Files
F3896242: D25979.1746287255.diff
Fri, May 2, 15:47
F3890513: D25979.1746267707.diff
Fri, May 2, 10:21
F3890108: D25979.1746260698.diff
Fri, May 2, 08:24
F3883134: D25979.1746251334.diff
Fri, May 2, 05:48
F3882725: D25979.1746245420.diff
Fri, May 2, 04:10
F3859228: D25979.1746169947.diff
Thu, May 1, 07:12
F3828255: D25979.1746052938.diff
Tue, Apr 29, 22:42
F3827632: D25979.1746039665.diff
Tue, Apr 29, 19:01

Details

Summary

Remove or correct wrong @return types in PHPDoc and/or correct wrong return values in methods.

Test Plan

Run static code analysis; read code; check method in parent class and other callers, etc.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

src/applications/people/phid/PhabricatorPeopleUserEmailPHIDType.php
36–37

At this point this return can be dropped, with an evil laugh

src/applications/search/query/PhabricatorSearchDocumentQuery.php
107–108

At this point this return can be dropped, with an evil laugh


✅ P.S. I verified that nothing calls ->nextPage()->something()

src/infrastructure/daemon/workers/query/PhabricatorWorkerTriggerQuery.php
76–77

At this point this return can be dropped, with an evil laugh

This revision is now accepted and ready to land.Tue, Apr 29, 21:12
This revision was automatically updated to reflect the committed changes.