X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fsearch%2FSearchDatabase.php;h=5b18b7c82b5c6adadfa1460cde9ccad8501ec63b;hb=f47b7d6afc77ad8b08ba803289852f7c11ea1905;hp=82d09073bc6fc7aba9d91f974a060c44d31b80ee;hpb=f0edb3e368a5fc69218d20f76f1538b68f37db42;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/search/SearchDatabase.php b/includes/search/SearchDatabase.php index 82d09073bc..5b18b7c82b 100644 --- a/includes/search/SearchDatabase.php +++ b/includes/search/SearchDatabase.php @@ -28,15 +28,15 @@ */ class SearchDatabase extends SearchEngine { /** - * @var DatabaseBase Slave database for reading from for results + * @var IDatabase Slave database for reading from for results */ protected $db; /** * Constructor - * @param DatabaseBase $db The database to search from + * @param IDatabase $db The database to search from */ - public function __construct( DatabaseBase $db = null ) { + public function __construct( IDatabase $db = null ) { if ( $db ) { $this->db = $db; } else {