From 592d72e00688d9bc9dce6b9dfa0596a86a0374b5 Mon Sep 17 00:00:00 2001 From: epriestley Date: Tue, 3 Apr 2018 10:02:19 -0700 Subject: [PATCH] Move PhabricatorModularTransaction slightly closer to having "final" methods again Summary: Depends on D19290. Ref T13110. Differential still has some hacks in place which require these methods to "very temporarily" be nonfinal, but the badness can be slightly reduced nowadays. Test Plan: Loaded some pages, nothing fataled. Maniphest Tasks: T13110 Differential Revision: https://secure.phabricator.com/D19291 --- .../transactions/storage/PhabricatorModularTransaction.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/applications/transactions/storage/PhabricatorModularTransaction.php b/src/applications/transactions/storage/PhabricatorModularTransaction.php index 4546dbf1a3..eef4b8e5d9 100644 --- a/src/applications/transactions/storage/PhabricatorModularTransaction.php +++ b/src/applications/transactions/storage/PhabricatorModularTransaction.php @@ -176,7 +176,7 @@ abstract class PhabricatorModularTransaction return parent::attachViewer($viewer); } - /* final */ public function hasChangeDetails() { + final public function hasChangeDetails() { if ($this->getTransactionImplementation()->hasChangeDetailView()) { return true; } @@ -184,7 +184,7 @@ abstract class PhabricatorModularTransaction return parent::hasChangeDetails(); } - /* final */ public function renderChangeDetails(PhabricatorUser $viewer) { + final public function renderChangeDetails(PhabricatorUser $viewer) { $impl = $this->getTransactionImplementation(); $impl->setViewer($viewer); $view = $impl->newChangeDetailView();