Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
2 / 2
TemplateStylesContent
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
 __construct
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
2 / 2
<?php
namespace MediaWiki\Extension\TemplateStyles;
use TextContent;
/**
 * @file
 * @license GPL-2.0-or-later
 */
/**
 * Content object for sanitized CSS.
 */
class TemplateStylesContent extends TextContent {
    /**
     * @param string $text
     * @param string $modelId
     */
    public function __construct( $text, $modelId = 'sanitized-css' ) {
        parent::__construct( $text, $modelId );
    }
}