Clean up get_class() in /includes/filerepo and /includes/resourceloader
[lhc/web/wiklou.git] / includes / filerepo / NullRepo.php
index f2b7395..1c12e02 100644 (file)
@@ -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.' );
        }
 }