X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FDbTestRecorder.php;h=f68f5953d1f652082d843397053e9275108caa63;hb=904c3a62022940267ae486da37693d0caf396d5c;hp=0e9430144c0388d28273797f7b627b39f9e2c876;hpb=7874fc4bec845ad92960b07e969c65f3c3fe74f2;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/DbTestRecorder.php b/tests/parser/DbTestRecorder.php index 0e9430144c..f68f5953d1 100644 --- a/tests/parser/DbTestRecorder.php +++ b/tests/parser/DbTestRecorder.php @@ -19,11 +19,14 @@ * @ingroup Testing */ +use Wikimedia\Rdbms\IMaintainableDatabase; + class DbTestRecorder extends TestRecorder { public $version; + /** @var Database */ private $db; - public function __construct( IDatabase $db ) { + public function __construct( IMaintainableDatabase $db ) { $this->db = $db; } @@ -81,4 +84,3 @@ class DbTestRecorder extends TestRecorder { $this->db->commit( __METHOD__ ); } } -