X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FNullRepo.php;h=1c12e0274acdaaf35fbee4be5b898e5e170654cb;hb=9ac5caffb48b32d2ba4b9be03a5682d657186c7f;hp=f2b7395c7bd400f9a36cfc360ce3acf9661a7e1d;hpb=00caf71094a7b513f1b12f28bf7ac600117a413f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/NullRepo.php b/includes/filerepo/NullRepo.php index f2b7395c7b..1c12e0274a 100644 --- a/includes/filerepo/NullRepo.php +++ b/includes/filerepo/NullRepo.php @@ -33,6 +33,6 @@ class NullRepo extends FileRepo { } protected function assertWritableRepo() { - throw new MWException( get_class( $this ) . ': write operations are not supported.' ); + throw new MWException( static::class . ': write operations are not supported.' ); } }