wiki.techinc.nl/includes/filerepo/TempFileRepo.php
Timo Tijhof 835f89a612 filerepo: Clean up file and class doc comments
* Remove copy-paste descriptions that are unrelated to the file.

* Move any useful information from file block to class block.

* Ensure any relevant `ingroup` is set on the class block.

* Remove left-over ingroup and class description from file block,
  which pollutes the doc index for no gain.

* Mark some obscure classes that have no references outside
  core in Codesearch Everywhere as internal.

Change-Id: If2360596b4a7511db7439b4b9867b0600ce2d5f8
2022-04-07 02:28:33 +01:00

13 lines
327 B
PHP

<?php
/**
* FileRepo for temporary files created by FileRepo::getTempRepo()
*
* @internal
* @ingroup FileRepo
*/
class TempFileRepo extends FileRepo {
public function getTempRepo() {
// @phan-suppress-previous-line PhanPluginNeverReturnMethod
throw new MWException( "Cannot get a temp repo from a temp repo." );
}
}