Merge "Add SPARQL client to core"
[lhc/web/wiklou.git] / includes / changetags / ChangeTagsList.php
index a37f5f2..1559e1d 100644 (file)
@@ -39,14 +39,14 @@ abstract class ChangeTagsList extends RevisionListBase {
         * @throws Exception If you give an unknown $typeName
         */
        public static function factory( $typeName, IContextSource $context,
-               Title $title, array $ids ) {
-
+               Title $title, array $ids
+       ) {
                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" );