HomePhorge

Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver

Description

Correct PHPDoc return value for loadObject() in PhabricatorObjectMailReceiver

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.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25654

Details

Provenance
Andre KlapperAuthored on May 17 2024, 1:57 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP98884f758a29: Fix call to non-existing newIcons() in PhabricatorIconSet
Branches
Loading...
Tags
Loading...

Event Timeline