*
* Usage:
*
- * $wgMWLoggerDefaultSpi = array(
+ * $wgMWLoggerDefaultSpi = [
* 'class' => '\\MediaWiki\\Logger\\NullSpi',
- * );
+ * ];
*
* @see \MediaWiki\Logger\LoggerFactory
* @since 1.25
*/
protected $singleton;
-
public function __construct() {
$this->singleton = new NullLogger();
}
-
/**
* Get a logger instance.
*