Page MenuHomePhorge

Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver
ClosedPublic

Authored by aklapper on May 17 2024, 08:58.

Details

Summary

The PHPDoc for the abstract function loadObject() defines @return void, however the function's return value is used twice in PhabricatorObjectMailReceiver and all 17 loadObject() implementations in child classes return an object provided by some type of PhabricatorCursorPagedPolicyAwareQuery.
Thus correct the PHPDoc to make static code analyzers happier.

Test Plan

Carefully read and compare the code.

Diff Detail

Repository
rP Phorge
Branch
mailReceiverObjectVoid (branched from master)
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 1277
Build 1277: arc lint + arc unit