Avoid PHP 7.2 warnings in DBConRefTest about count() on non-Countable
[lhc/web/wiklou.git] / includes / filerepo / TempFileRepo.php
1 <?php
2 /**
3 * FileRepo for temporary files created via FileRepo::getTempRepo()
4 */
5 class TempFileRepo extends FileRepo {
6 public function getTempRepo() {
7 throw new MWException( "Cannot get a temp repo from a temp repo." );
8 }
9 }