mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 23:02:42 +01:00
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
This commit is contained in:
parent
6f520e0534
commit
592d72e006
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue