Clean up get_class() in /includes/filerepo and /includes/resourceloader
[lhc/web/wiklou.git] / includes / filerepo / ForeignDBViaLBRepo.php
index a9cd030..f83fd1c 100644 (file)
@@ -100,7 +100,7 @@ class ForeignDBViaLBRepo extends LocalRepo {
        }
 
        protected function assertWritableRepo() {
-               throw new MWException( get_class( $this ) . ': write operations are not supported.' );
+               throw new MWException( static::class . ': write operations are not supported.' );
        }
 
        public function getInfo() {