Umherirrender has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/399953 )
Change subject: Change typehint from DatabaseBase to IDatabase
......................................................................
Change typehint from DatabaseBase to IDatabase
Change-Id: I3f74d1d166c6e9546d39010d56c8366da4d1a760
---
M InviteStore.php
1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/InviteSignup
refs/changes/53/399953/1
diff --git a/InviteStore.php b/InviteStore.php
index ce7110c..e8f7820 100644
--- a/InviteStore.php
+++ b/InviteStore.php
@@ -10,6 +10,8 @@
* @license GPL-2.0+
*/
+use Wikimedia\Rdbms\IDatabase;
+
/**
* InviteStore which uses database as storage.
*/
@@ -17,7 +19,7 @@
protected $db;
protected $dbTable;
- public function __construct( DatabaseBase $db, $table ) {
+ public function __construct( IDatabase $db, $table ) {
$this->db = $db;
$this->dbTable = $table;
}
--
To view, visit https://gerrit.wikimedia.org/r/399953
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f74d1d166c6e9546d39010d56c8366da4d1a760
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/InviteSignup
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits