X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fcontent%2FJsonContentHandler.php;h=eb1c67d5d2d11725bf9eff09c1f0acf4fdd3824b;hb=c1efb8dfee7f57dc680df42980b7df4f636b5560;hp=b149f5287dfc2d1a9f879bb35401fe356f4534db;hpb=7ceeaa22084213668697785c6b174464442e9581;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/JsonContentHandler.php b/includes/content/JsonContentHandler.php index b149f5287d..eb1c67d5d2 100644 --- a/includes/content/JsonContentHandler.php +++ b/includes/content/JsonContentHandler.php @@ -30,13 +30,13 @@ class JsonContentHandler extends CodeContentHandler { public function __construct( $modelId = CONTENT_MODEL_JSON ) { - parent::__construct( $modelId, array( CONTENT_FORMAT_JSON ) ); + parent::__construct( $modelId, [ CONTENT_FORMAT_JSON ] ); } /** * @return string */ protected function getContentClass() { - return 'JsonContent'; + return JsonContent::class; } }