jenkins-bot has submitted this change and it was merged.

Change subject: Fix class name "Database" --> "DatabaseBase"
......................................................................


Fix class name "Database" --> "DatabaseBase"

Also add type-hint!!!!!111

Change-Id: I69e378cbf3e1967131b8c778574f6ea4045766ab
---
M tests/CentralAuthTestUser.php
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/CentralAuthTestUser.php b/tests/CentralAuthTestUser.php
index 3686bb6..4142985 100644
--- a/tests/CentralAuthTestUser.php
+++ b/tests/CentralAuthTestUser.php
@@ -135,9 +135,9 @@
 
        /**
         * Save the user into a centralauth database
-        * @param Database $db
+        * @param DatabaseBase $db
         */
-       public function save( $db ) {
+       public function save( DatabaseBase $db ) {
                // Setup local wiki user
                if ( $this->createLocal ) {
                        $user = User::newFromName( $this->username );

-- 
To view, visit https://gerrit.wikimedia.org/r/159402
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I69e378cbf3e1967131b8c778574f6ea4045766ab
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/CentralAuth
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to