* @throws MWException
*/
public function runTable( $params ) {
- $dbr = $this->getDB( DB_SLAVE );
+ $dbr = $this->getDB( DB_REPLICA );
if ( array_diff( array_keys( $params ),
[ 'table', 'conds', 'index', 'callback' ] )
}
/**
- * @param array $matches
+ * @param string[] $matches
* @return string
*/
protected function hexChar( $matches ) {