protected $isSafeFile;
/** @var string Required Repository class type */
- protected $repoClass = 'FileRepo';
+ protected $repoClass = FileRepo::class;
/** @var array Cache of tmp filepaths pointing to generated bucket thumbnails, keyed by width */
protected $tmpBucketedThumbCache = [];
$metadata = $this->getMetadata();
if ( is_string( $metadata ) ) {
- $metadata = MediaWiki\quietCall( 'unserialize', $metadata );
+ $metadata = Wikimedia\quietCall( 'unserialize', $metadata );
}
if ( !is_array( $metadata ) ) {