Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / phortune / xaction / PhortuneAccountBillingAddressTransaction.php
blobf4d62b1dcb52174291df3716eace9ee137531fc1
1 <?php
3 final class PhortuneAccountBillingAddressTransaction
4 extends PhortuneAccountTransactionType {
6 const TRANSACTIONTYPE = 'billing-address';
8 public function generateOldValue($object) {
9 return $object->getBillingAddress();
12 public function applyInternalEffects($object, $value) {
13 $object->setBillingAddress($value);
16 public function getTitle() {
17 return pht(
18 '%s updated the account billing address.',
19 $this->renderAuthor());
22 public function hasChangeDetailView() {
23 return true;
26 public function getMailDiffSectionHeader() {
27 return pht('CHANGES TO BILLING ADDRESS');
30 public function newChangeDetailView() {
31 $viewer = $this->getViewer();
33 return id(new PhabricatorApplicationTransactionTextDiffDetailView())
34 ->setViewer($viewer)
35 ->setOldText($this->getOldValue())
36 ->setNewText($this->getNewValue());