From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/content/TextContent.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/content/TextContent.php') 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 ); -- cgit v1.2.2