Skip to content

Commit

Permalink
Stay PHP 7.0 compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
theseer committed Dec 7, 2017
1 parent 2caac0c commit aabbd51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewmodel/SnapshotDOMNodelist.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function current(): DOMNode {
return $this->items[$this->pos];
}

public function next(): void {
public function next() {
$this->pos++;
}

Expand All @@ -67,7 +67,7 @@ public function valid(): bool {
return count($this->items) > $this->pos;
}

public function rewind(): void {
public function rewind() {
$this->pos = 0;
}

Expand Down

0 comments on commit aabbd51

Please sign in to comment.