X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Ffilerepo%2FNullRepo.php;h=1c12e0274acdaaf35fbee4be5b898e5e170654cb;hb=21a36e80464f364d894eb49b3073069fc87f97b1;hp=29e4cad97cbcdc3f30daf7358303e23277a2b729;hpb=4856e2cba138d14a4354f95b5fcff05d63b00228;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/filerepo/NullRepo.php b/includes/filerepo/NullRepo.php index 29e4cad97c..1c12e0274a 100644 --- a/includes/filerepo/NullRepo.php +++ b/includes/filerepo/NullRepo.php @@ -26,14 +26,13 @@ * @ingroup FileRepo */ class NullRepo extends FileRepo { - /** - * @param $info array|null + * @param array|null $info */ function __construct( $info ) { } protected function assertWritableRepo() { - throw new MWException( get_class( $this ) . ': write operations are not supported.' ); + throw new MWException( static::class . ': write operations are not supported.' ); } }