Page MenuHomePhabricator

Add abstract `getGroup()` method
ClosedPublic

Authored by joshuaspence on Feb 12 2015, 7:33 AM.
Tags
None
Referenced Files
F18464999: D11756.id.diff
Tue, Sep 2, 6:08 AM
F18454968: D11756.diff
Mon, Sep 1, 6:16 AM
F18192675: D11756.diff
Sun, Aug 17, 4:29 AM
F18191861: D11756.id.diff
Sun, Aug 17, 3:17 AM
F18050293: D11756.id28699.diff
Aug 3 2025, 7:18 PM
F18048397: D11756.id.diff
Aug 3 2025, 1:33 PM
F18023278: D11756.id28340.diff
Aug 2 2025, 8:53 PM
F17959381: D11756.diff
Aug 1 2025, 8:11 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rPeec2d145df03: Add abstract `getGroup()` method
Summary

In D11722, a getGroup() method was added to all subclasses of PhabricatorApplicationConfigOptions, but no abstract method was added to the base class. This will fail if a custom *ConfigOptions class does not provide a getGroup() method, in which case $group->getGroup() (in PhabricatorConfigListController) will fatal.

Test Plan

N/A

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add abstract `getGroup()` method.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Feb 28 2015, 9:55 PM
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence edited edge metadata.
This revision was automatically updated to reflect the committed changes.