Add return type to EchoFilteredSequentialIterator::getIterator()

Bug: T311448
Change-Id: I600135064aaaf05019da09e6dc610b8759ce0913
This commit is contained in:
Reedy 2022-06-27 20:06:31 +01:00
parent e276fc8ac1
commit aae5cb2579

View file

@ -75,7 +75,7 @@ class EchoFilteredSequentialIterator implements IteratorAggregate {
*
* @return Iterator
*/
public function getIterator() {
public function getIterator(): Iterator {
$it = $this->createIterator();
if ( $this->filters ) {
$it = new CallbackFilterIterator( $it, $this->createFilter() );