X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Ffilerepo%2FNullRepo.php;h=1c12e0274acdaaf35fbee4be5b898e5e170654cb;hb=7bb26739ec20082cdce09115ac7a80e15325ec8c;hp=29e4cad97cbcdc3f30daf7358303e23277a2b729;hpb=dd981eb7b5a22dc6c12a1adc5144d63ac0ee9dd1;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.' ); } }