Differential D15911 Diff 38327 src/applications/differential/customfield/DifferentialReviewersField.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/customfield/DifferentialReviewersField.php
| Show First 20 Lines • Show All 140 Lines • ▼ Show 20 Lines | final class DifferentialReviewersField | ||||
| } | } | ||||
| public function parseValueFromCommitMessage($value) { | public function parseValueFromCommitMessage($value) { | ||||
| return $this->parseObjectList( | return $this->parseObjectList( | ||||
| $value, | $value, | ||||
| array( | array( | ||||
| PhabricatorPeopleUserPHIDType::TYPECONST, | PhabricatorPeopleUserPHIDType::TYPECONST, | ||||
| PhabricatorProjectProjectPHIDType::TYPECONST, | PhabricatorProjectProjectPHIDType::TYPECONST, | ||||
| PhabricatorOwnersPackagePHIDType::TYPECONST, | |||||
| )); | )); | ||||
| } | } | ||||
| public function getRequiredHandlePHIDsForCommitMessage() { | public function getRequiredHandlePHIDsForCommitMessage() { | ||||
| return mpull($this->getValue(), 'getReviewerPHID'); | return mpull($this->getValue(), 'getReviewerPHID'); | ||||
| } | } | ||||
| public function readValueFromCommitMessage($value) { | public function readValueFromCommitMessage($value) { | ||||
| ▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines | |||||