mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-25 06:50:55 +01:00
Mark renderActionDescription
as abstract
Summary: I got caught by this... my custom Herald action doesn't implement this method and now I am hitting this exception: ``` Call to undefined method HeraldHipChatNotificationAction::renderActionDescription() /usr/src/phabricator/src/applications/herald/adapter/HeraldAdapter.php:896 ``` Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D13779
This commit is contained in:
parent
5f76c71d78
commit
4139305f73
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ abstract class HeraldAction extends Phobject {
|
||||||
abstract public function supportsRuleType($rule_type);
|
abstract public function supportsRuleType($rule_type);
|
||||||
abstract public function applyEffect($object, HeraldEffect $effect);
|
abstract public function applyEffect($object, HeraldEffect $effect);
|
||||||
|
|
||||||
|
abstract public function renderActionDescription($value);
|
||||||
|
|
||||||
protected function renderActionEffectDescription($type, $data) {
|
protected function renderActionEffectDescription($type, $data) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue