Correct a parameter order swap in "diffusion.historyquery" for Mercurial
[phabricator.git] / src / applications / herald / mail / HeraldRuleReplyHandler.php
blobc4bf9fad445c363226e2216da7374d0ced94cada
1 <?php
3 final class HeraldRuleReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof HeraldRule)) {
8 throw new Exception(pht('Mail receiver is not a %s!', 'HeraldRule'));
12 public function getObjectPrefix() {
13 return 'H';