* Map of name => callback
* @var array
*/
- private $factoryFunctions = array();
+ private $factoryFunctions = [];
/**
* Map of name => fallback human-readable name, used when the 'skinname-<skin>' message is not
* available
*
* @var array
*/
- private $displayNames = array();
-
- /**
- * @var SkinFactory
- */
- private static $self;
-
- public static function getDefaultInstance() {
- if ( !self::$self ) {
- self::$self = new self;
- }
-
- return self::$self;
- }
+ private $displayNames = [];
/**
* Register a new Skin factory function.