Fix phpdoc for type hint for User::makeUpdateConditions()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 8 Apr 2019 03:46:22 +0000 (20:46 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 8 Apr 2019 03:46:22 +0000 (20:46 -0700)
Change-Id: I46b3842495b3b9b8d44d16f434de4b44c65c1d80

includes/user/User.php

index d2edbdf..5b07315 100644 (file)
@@ -1671,7 +1671,7 @@ class User implements IDBAccessObject, UserIdentity {
         * protected against race conditions using a compare-and-set (CAS) mechanism
         * based on comparing $this->mTouched with the user_touched field.
         *
-        * @param Database $db
+        * @param IDatabase $db
         * @param array $conditions WHERE conditions for use with Database::update
         * @return array WHERE conditions for use with Database::update
         */