Differential D9986 Diff 24115 src/applications/differential/customfield/DifferentialAuditorsField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialAuditorsField.php
| Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | final class DifferentialAuditorsField | ||||
| public function getRequiredHandlePHIDsForCommitMessage() { | public function getRequiredHandlePHIDsForCommitMessage() { | ||||
| return nonempty($this->getValue(), array()); | return nonempty($this->getValue(), array()); | ||||
| } | } | ||||
| public function parseCommitMessageValue($value) { | public function parseCommitMessageValue($value) { | ||||
| return $this->parseObjectList( | return $this->parseObjectList( | ||||
| $value, | $value, | ||||
| array( | array( | ||||
| PhabricatorPeoplePHIDTypeUser::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
| PhabricatorProjectPHIDTypeProject::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
| )); | )); | ||||
| } | } | ||||
| public function renderCommitMessageValue(array $handles) { | public function renderCommitMessageValue(array $handles) { | ||||
| return $this->renderObjectList($handles); | return $this->renderObjectList($handles); | ||||
| } | } | ||||
| } | } | ||||