From af7bf98cbab882f8fa36c9551aef4bafd0e3495f Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 21 Oct 2021 12:44:47 +0200 Subject: Fix Iterator return types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/L10N/LanguageIterator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/private/L10N') diff --git a/lib/private/L10N/LanguageIterator.php b/lib/private/L10N/LanguageIterator.php index c48a27fb6ce..4a76667caf2 100644 --- a/lib/private/L10N/LanguageIterator.php +++ b/lib/private/L10N/LanguageIterator.php @@ -45,7 +45,7 @@ class LanguageIterator implements ILanguageIterator { /** * Rewind the Iterator to the first element */ - public function rewind() { + public function rewind(): void { $this->i = 0; } @@ -112,7 +112,7 @@ class LanguageIterator implements ILanguageIterator { * * @since 14.0.0 */ - public function next() { + public function next(): void { ++$this->i; } -- cgit v1.2.3