From aabbd51b73e93c47ce246810a0e0ca062e2e5346 Mon Sep 17 00:00:00 2001 From: Arne Blankerts Date: Thu, 7 Dec 2017 19:21:09 +0100 Subject: [PATCH] Stay PHP 7.0 compatible --- src/viewmodel/SnapshotDOMNodelist.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewmodel/SnapshotDOMNodelist.php b/src/viewmodel/SnapshotDOMNodelist.php index ea7baf4..ea8d87f 100644 --- a/src/viewmodel/SnapshotDOMNodelist.php +++ b/src/viewmodel/SnapshotDOMNodelist.php @@ -55,7 +55,7 @@ public function current(): DOMNode { return $this->items[$this->pos]; } - public function next(): void { + public function next() { $this->pos++; } @@ -67,7 +67,7 @@ public function valid(): bool { return count($this->items) > $this->pos; } - public function rewind(): void { + public function rewind() { $this->pos = 0; }