diff --git a/src/applications/nuance/item/NuanceGitHubEventItemType.php b/src/applications/nuance/item/NuanceGitHubEventItemType.php --- a/src/applications/nuance/item/NuanceGitHubEventItemType.php +++ b/src/applications/nuance/item/NuanceGitHubEventItemType.php @@ -20,6 +20,10 @@ return $this->newRawEvent($item)->getEventFullTitle(); } + protected function newWorkCommands(NuanceItem $item) { + return array(); + } + public function canUpdateItems() { return true; } diff --git a/src/applications/nuance/item/NuanceItemType.php b/src/applications/nuance/item/NuanceItemType.php --- a/src/applications/nuance/item/NuanceItemType.php +++ b/src/applications/nuance/item/NuanceItemType.php @@ -6,6 +6,8 @@ private $viewer; private $controller; + abstract protected function newWorkCommands(NuanceItem $item); + public function setViewer(PhabricatorUser $viewer) { $this->viewer = $viewer; return $this;