Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialReviewer.php
| Show All 20 Lines | public function getStatus() { | ||||
| return $this->status; | return $this->status; | ||||
| } | } | ||||
| public function getDiffID() { | public function getDiffID() { | ||||
| return $this->diffID; | return $this->diffID; | ||||
| } | } | ||||
| public function isUser() { | public function isUser() { | ||||
| $user_type = PhabricatorPeoplePHIDTypeUser::TYPECONST; | $user_type = PhabricatorPeopleUserPHIDType::TYPECONST; | ||||
| return (phid_get_type($this->getReviewerPHID()) == $user_type); | return (phid_get_type($this->getReviewerPHID()) == $user_type); | ||||
| } | } | ||||
| public function attachAuthority(PhabricatorUser $user, $has_authority) { | public function attachAuthority(PhabricatorUser $user, $has_authority) { | ||||
| $this->authority[$user->getPHID()] = $has_authority; | $this->authority[$user->getPHID()] = $has_authority; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| Show All 19 Lines | |||||