1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 14:52:41 +01:00

Minor, feedback from D3098.

Auditors: btrahan
This commit is contained in:
epriestley 2012-07-30 10:44:48 -07:00
parent fceabd42e8
commit 9fd2b37593

View file

@ -25,21 +25,21 @@ final class PhabricatorFactUpdateIterator extends PhutilBufferedIterator {
private $cursor; private $cursor;
private $object; private $object;
private $start; private $position;
private $ignoreUpdatesDuration = 15; private $ignoreUpdatesDuration = 15;
public function __construct(LiskDAO $object) { public function __construct(LiskDAO $object) {
$this->object = $object; $this->object = $object;
$this->start = '0:0'; $this->position = '0:0';
} }
public function setPosition($position) { public function setPosition($position) {
$this->start = $position; $this->position = $position;
return $this; return $this;
} }
protected function didRewind() { protected function didRewind() {
$this->cursor = $this->start; $this->cursor = $this->position;
} }
protected function getCursorFromObject($object) { protected function getCursorFromObject($object) {