aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/L10N
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2021-10-21 12:44:47 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2021-11-23 09:28:57 +0100
commitaf7bf98cbab882f8fa36c9551aef4bafd0e3495f (patch)
tree12a751993ca47766d8eff27319693420aea7f164 /lib/private/L10N
parent113756db30fcbffe9e90b54c29e78dee0676109f (diff)
downloadnextcloud-server-af7bf98cbab882f8fa36c9551aef4bafd0e3495f.tar.gz
nextcloud-server-af7bf98cbab882f8fa36c9551aef4bafd0e3495f.zip
Fix Iterator return types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/L10N')
-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;
}