*/
private static $self;
+ /**
+ * @return ConfigFactory
+ */
public static function getDefaultInstance() {
if ( !self::$self ) {
self::$self = new self;
* Destroy the default instance
* Should only be called inside unit tests
* @throws MWException
+ * @codeCoverageIgnore
*/
public static function destroyDefaultInstance() {
if ( !defined( 'MW_PHPUNIT_TEST' ) ) {