X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FNullRepo.php;h=1c12e0274acdaaf35fbee4be5b898e5e170654cb;hb=25242105e8fd03c9900250bdf9ea91be9a286625;hp=f2b7395c7bd400f9a36cfc360ce3acf9661a7e1d;hpb=b1421f046322cffd39149d122b805396c3388803;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.' ); } }