mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-30 09:24:34 +00:00
Type hint IReadableDatabase in Search
Follow-up: I01a1aa0ddbc756226d8e3404ac1cc3350ad5df64 Change-Id: Ifef8867aa2583cf65115b4764f9cceae296161bc
This commit is contained in:
parent
fe94aa9e2e
commit
030fb699f7
|
@ -22,7 +22,7 @@ namespace MediaWiki\Extension\ReplaceText;
|
|||
use MediaWiki\Config\Config;
|
||||
use MediaWiki\Title\Title;
|
||||
use Wikimedia\Rdbms\IConnectionProvider;
|
||||
use Wikimedia\Rdbms\IDatabase;
|
||||
use Wikimedia\Rdbms\IReadableDatabase;
|
||||
use Wikimedia\Rdbms\IResultWrapper;
|
||||
|
||||
class Search {
|
||||
|
@ -113,7 +113,7 @@ class Search {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param IDatabase $dbr
|
||||
* @param IReadableDatabase $dbr
|
||||
* @param string $column
|
||||
* @param string $regex
|
||||
* @return string query condition for regex
|
||||
|
|
Loading…
Reference in a new issue