summaryrefslogtreecommitdiff
path: root/includes/content/TextContent.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/content/TextContent.php')
-rw-r--r--includes/content/TextContent.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php
index c479f202..baea8125 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 );