Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / phame / mail / PhamePostReplyHandler.php
blob5e47edf43ce2d985e6cc429926b66781dbcee550
1 <?php
3 final class PhamePostReplyHandler
4 extends PhabricatorApplicationTransactionReplyHandler {
6 public function validateMailReceiver($mail_receiver) {
7 if (!($mail_receiver instanceof PhamePost)) {
8 throw new Exception(
9 pht('Mail receiver is not a %s.', 'PhamePost'));
13 public function getObjectPrefix() {
14 return PhabricatorPhamePostPHIDType::TYPECONST;