X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fchangetags%2FChangeTagsList.php;h=1559e1d6f7cf66e2d7f28b196d8a3d9bc7ca3356;hp=a37f5f2c11b25037aa7f4124937c248a64efc30c;hb=ee56f00ddf0609082f8ae9a4dc3e6e1b6f54ddfd;hpb=b170b4a14a94fb509c4b15ca4c5717c6976a32cc diff --git a/includes/changetags/ChangeTagsList.php b/includes/changetags/ChangeTagsList.php index a37f5f2c11..1559e1d6f7 100644 --- a/includes/changetags/ChangeTagsList.php +++ b/includes/changetags/ChangeTagsList.php @@ -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" );