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