X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fstorage%2FtestCompression.php;h=7cac7287c171bbe611c4fc2f6538dc209c308a74;hb=7f3483e51495a9fc8b2dbfc95b02afbb9b9f5bc9;hp=028f11cc6d9bcbf82e3fd4d1922e810071a42231;hpb=2ef178072f6f46abde7bdcc2630389a8b2837557;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/testCompression.php b/maintenance/storage/testCompression.php index 028f11cc6d..7cac7287c1 100644 --- a/maintenance/storage/testCompression.php +++ b/maintenance/storage/testCompression.php @@ -45,7 +45,7 @@ if ( isset( $options['limit'] ) ) { $limit = 1000; $untilHappy = true; } -$type = isset( $options['type'] ) ? $options['type'] : 'ConcatenatedGzipHistoryBlob'; +$type = $options['type'] ?? ConcatenatedGzipHistoryBlob::class; $dbr = $this->getDB( DB_REPLICA ); $revQuery = Revision::getQueryInfo( [ 'page', 'text' ] );