1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-18 11:30:55 +01:00
phorge-phorge/src/applications/ponder/phid
Joshua Spence 254542237a Simplify the implementation of PhabricatorPHIDType subclasses
Summary: 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.

Test Plan: Ran `arc unit`.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin, hach-que

Differential Revision: https://secure.phabricator.com/D9985
2014-07-22 00:38:23 +10:00
..
PonderPHIDTypeAnswer.php Simplify the implementation of PhabricatorPHIDType subclasses 2014-07-22 00:38:23 +10:00
PonderPHIDTypeQuestion.php Simplify the implementation of PhabricatorPHIDType subclasses 2014-07-22 00:38:23 +10:00