getAdapter()->loadDifferentialRevision(); if (!$revision) { return null; } $data = $object->getCommitData(); $status = $data->getCommitDetail( 'precommitRevisionStatus', $revision->getStatus()); switch ($status) { case ArcanistDifferentialRevisionStatus::ACCEPTED: case ArcanistDifferentialRevisionStatus::CLOSED: return $revision->getPHID(); } return null; } protected function getHeraldFieldStandardType() { return self::STANDARD_PHID_BOOL; } }