Page MenuHomePhorge

ManiphestReportController: Add more PHPDoc coverage
ClosedPublic

Authored by aklapper on Mar 3 2025, 14:45.

Details

Summary

Make things a bit easier to understand, for the start.

Test Plan

Check return values for their types and classes.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

aklapper requested review of this revision.Mar 3 2025, 14:45

Thanks

sgtm

src/applications/maniphest/controller/ManiphestReportController.php
519

I don't like hardcoding it also in PHPDoc lol

Maybe better to say that "greater means big priority" (or vice-versa - I don't know lol)

This revision is now accepted and ready to land.Mar 3 2025, 14:49
aklapper added inline comments.
src/applications/maniphest/controller/ManiphestReportController.php
519

The docs cover the current behavior. ;) I'll leave understanding Priority integers as an exercise to admins and developers if anyone ever wants to dig into that.

This revision was automatically updated to reflect the committed changes.
aklapper marked an inline comment as done.
src/applications/maniphest/controller/ManiphestReportController.php
519

This is a nightmare for my dreams but I have already approved so... asd

But better to explain what it is than to explain its current value