|
|
|
|
@ -21,7 +21,7 @@ namespace OCP\L10N;
|
|
|
|
|
* if settings are not present or truncating is not applicable, the iterator
|
|
|
|
|
* skips to the next valid item itself
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* @template-extends \Iterator<int, string>
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
|
|
|
|
interface ILanguageIterator extends \Iterator {
|
|
|
|
|
@ -36,22 +36,20 @@ interface ILanguageIterator extends \Iterator {
|
|
|
|
|
* Move forward to next element
|
|
|
|
|
*
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
#[\ReturnTypeWillChange]
|
|
|
|
|
public function next();
|
|
|
|
|
public function next(): void;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Return the key of the current element
|
|
|
|
|
*
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function key():int;
|
|
|
|
|
public function key(): int;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Checks if current position is valid
|
|
|
|
|
*
|
|
|
|
|
* @since 14.0.0
|
|
|
|
|
*/
|
|
|
|
|
public function valid():bool;
|
|
|
|
|
public function valid(): bool;
|
|
|
|
|
}
|
|
|
|
|
|