wfEntryPointCheck( 'text' );
use MediaWiki\Shell\Shell;
+use Wikimedia\Rdbms\IResultWrapper;
/**
* @defgroup MaintenanceArchive Maintenance archives
/**
* Perform a search index update with locking
* @param int $maxLockTime The maximum time to keep the search index locked.
- * @param string $callback The function that will update the function.
+ * @param callable $callback The function that will update the function.
* @param IMaintainableDatabase $dbw
- * @param array $results
+ * @param array|IResultWrapper $results
*/
public function updateSearchIndex( $maxLockTime, $callback, $dbw, $results ) {
$lockTime = time();