Instead of implementing the getTypeConstant method in all subclasses of PhabricatorPHIDType, provide a final implementation in the base class which uses reflection. See D9837 for a similar implementation.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- Restricted Diffusion Commit
rP254542237a66: Simplify the implementation of `PhabricatorPHIDType` subclasses
Ran arc unit.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Branch
- phidtype-reflection
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 1783 Build 1784: [Placeholder Plan] Wait for 30 Seconds