X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fcontent%2FTextContent.php;h=baea812576d23ed3155071215037507fcdf63e76;hb=956ff6609c45e6a4e0787844fda5cf86c4d5b996;hp=c479f202fbe035da9ed93ab37afa737d03f26d5e;hpb=98168be936af8c0e5351568373bccd82b9be4e68;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php index c479f202fb..baea812576 100644 --- a/includes/content/TextContent.php +++ b/includes/content/TextContent.php @@ -37,6 +37,7 @@ class TextContent extends AbstractContent { /** * @param string $text * @param string $model_id + * @throws MWException */ public function __construct( $text, $model_id = CONTENT_MODEL_TEXT ) { parent::__construct( $model_id );