mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
Add return type to EchoFilteredSequentialIterator::getIterator()
Bug: T311448 Change-Id: I600135064aaaf05019da09e6dc610b8759ce0913
This commit is contained in:
parent
e276fc8ac1
commit
aae5cb2579
|
@ -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() );
|
||||
|
|
Loading…
Reference in a new issue