getAdapter()->getRevision(); if (!$revision) { return null; } if ($revision->isAccepted()) { return $revision->getPHID(); } $was_accepted = DifferentialRevision::PROPERTY_CLOSED_FROM_ACCEPTED; if ($revision->isPublished()) { if ($revision->getProperty($was_accepted)) { return $revision->getPHID(); } } return null; } protected function getHeraldFieldStandardType() { return self::STANDARD_PHID_BOOL; } }