dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "WebRequest: Optimise WebRequest::getPathInfo()"
[lhc/web/wiklou.git]
/
includes
/
content
/
CssContentHandler.php
diff --git
a/includes/content/CssContentHandler.php
b/includes/content/CssContentHandler.php
index
ae5f742
..
9c11035
100644
(file)
--- 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 ) {
* @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() {
}
protected function getContentClass() {
- return
'CssContent'
;
+ return
CssContent::class
;
}
public function supportsRedirects() {
}
public function supportsRedirects() {