X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FCssContentHandler.php;h=9c1103536cac3e1e76ee438336915fe1ae773329;hb=3bf40e4021fbe1087ab275767d5cf367b4a32f02;hp=ae5f742a4c79c260cd40ea1ba44e71199cd0396e;hpb=69e3367224c003163fcc7cce0142b584f13a744e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/CssContentHandler.php b/includes/content/CssContentHandler.php index ae5f742a4c..9c1103536c 100644 --- a/includes/content/CssContentHandler.php +++ b/includes/content/CssContentHandler.php @@ -33,11 +33,11 @@ class CssContentHandler extends CodeContentHandler { * @param string $modelId */ public function __construct( $modelId = CONTENT_MODEL_CSS ) { - parent::__construct( $modelId, array( CONTENT_FORMAT_CSS ) ); + parent::__construct( $modelId, [ CONTENT_FORMAT_CSS ] ); } protected function getContentClass() { - return 'CssContent'; + return CssContent::class; } public function supportsRedirects() {