Merge "Align "What's this" vertically"
[lhc/web/wiklou.git] / includes / changetags / ChangeTagsList.php
index dd8bab9..afbbb2b 100644 (file)
@@ -39,8 +39,8 @@ 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';
@@ -49,8 +49,9 @@ abstract class ChangeTagsList extends RevisionListBase {
                                $className = 'ChangeTagsLogList';
                                break;
                        default:
-                               throw new Exception( "Class $className requested, but does not exist" );
+                               throw new Exception( "Class $typeName requested, but does not exist" );
                }
+
                return new $className( $context, $title, $ids );
        }