summaryrefslogtreecommitdiffstats
path: root/lib/private/L10N/LanguageIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/L10N/LanguageIterator.php')
-rw-r--r--lib/private/L10N/LanguageIterator.php4
1 files changed, 2 insertions, 2 deletions
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;
}