mediawiki-extensions-Templa.../includes/TemplateStylesContentHandler.php
Thiemo Kreuz b76898e848 Fix remaining PHPCS warnings about missing PHPDocs
Change-Id: Ic1c638902066dd5bb9333a2607c9ff84093fb4a2
2020-10-15 08:53:57 +02:00

27 lines
438 B
PHP

<?php
/**
* @file
* @license GPL-2.0-or-later
*/
/**
* Content handler for sanitized CSS
*/
class TemplateStylesContentHandler extends CodeContentHandler {
/**
* @param string $modelId
*/
public function __construct( $modelId = 'sanitized-css' ) {
parent::__construct( $modelId, [ CONTENT_FORMAT_CSS ] );
}
/**
* @return string
*/
protected function getContentClass() {
return TemplateStylesContent::class;
}
}