aboutsummaryrefslogtreecommitdiffstats
path: root/includes/utils/BatchRowIterator.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/utils/BatchRowIterator.php')
-rw-r--r--includes/utils/BatchRowIterator.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/utils/BatchRowIterator.php b/includes/utils/BatchRowIterator.php
index 43bccba57186..e107fb15bac4 100644
--- a/includes/utils/BatchRowIterator.php
+++ b/includes/utils/BatchRowIterator.php
@@ -1,4 +1,7 @@
<?php
+
+use Wikimedia\Rdbms\IDatabase;
+
/**
* Allows iterating a large number of rows in batches transparently.
* By default when iterated over returns the full query result as an