Merge "maintenance: Sanity check that --replicadb isn't using the master in sql.php"
[lhc/web/wiklou.git] / includes / changetags / ChangeTagsList.php
index afbbb2b..89f8f76 100644 (file)
@@ -43,10 +43,10 @@ abstract class ChangeTagsList extends RevisionListBase {
        ) {
                switch ( $typeName ) {
                        case 'revision':
-                               $className = 'ChangeTagsRevisionList';
+                               $className = ChangeTagsRevisionList::class;
                                break;
                        case 'logentry':
-                               $className = 'ChangeTagsLogList';
+                               $className = ChangeTagsLogList::class;
                                break;
                        default:
                                throw new Exception( "Class $typeName requested, but does not exist" );
@@ -68,7 +68,7 @@ abstract class ChangeTagsList extends RevisionListBase {
         *
         * @param array $tagsToAdd
         * @param array $tagsToRemove
-        * @param array $params
+        * @param string|null $params
         * @param string $reason
         * @param User $user
         * @return Status