1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-04-05 08:58:22 +02:00
phorge-phorge/src/infrastructure/diff/view/PHUIDiffInlineCommentView.php
epriestley f1f2c5d01d Reduce code duplication in inline right/left side tracking
Summary: Ref T2009. These subclasses have a mixture of similar methods, move them all to the base class.

Test Plan: Created/edited/undo/submitted comments on the left and right sides of a diff.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T2009

Differential Revision: https://secure.phabricator.com/D12024
2015-03-09 12:53:40 -07:00

16 lines
266 B
PHP

<?php
abstract class PHUIDiffInlineCommentView extends AphrontView {
private $isOnRight;
public function getIsOnRight() {
return $this->isOnRight;
}
public function setIsOnRight($on_right) {
$this->isOnRight = $on_right;
return $this;
}
}