From c3f7f9170577ff32776cdc316aeb5023249763b6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 5 May 2014 17:04:10 +0200 Subject: [PATCH] Documentation cleanup in Content-related files Mostly extracted from I979e2438. Change-Id: I6562d111c15425957eaaad31ded175811d7abf1c --- includes/content/Content.php | 2 +- includes/content/TextContent.php | 4 ++-- includes/content/WikitextContent.php | 3 --- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/includes/content/Content.php b/includes/content/Content.php index 210c1177a7..3286c0aa01 100644 --- a/includes/content/Content.php +++ b/includes/content/Content.php @@ -86,7 +86,7 @@ interface Content { public function getNativeData(); /** - * Returns the content's nominal size in bogo-bytes. + * Returns the content's nominal size in "bogo-bytes". * * @return int */ diff --git a/includes/content/TextContent.php b/includes/content/TextContent.php index b13b5fa94e..a7298d3191 100644 --- a/includes/content/TextContent.php +++ b/includes/content/TextContent.php @@ -77,9 +77,9 @@ class TextContent extends AbstractContent { } /** - * returns the text's size in bytes. + * Returns the text's size in bytes. * - * @return int The size + * @return int */ public function getSize() { $text = $this->getNativeData(); diff --git a/includes/content/WikitextContent.php b/includes/content/WikitextContent.php index 9b1a3c790a..dba0205920 100644 --- a/includes/content/WikitextContent.php +++ b/includes/content/WikitextContent.php @@ -258,8 +258,6 @@ class WikitextContent extends TextContent { * find out (default: null). * @param Title $title Optional title, defaults to the title from the current main request. * - * @internal param \IContextSource $context context for parsing if necessary - * * @return bool */ public function isCountable( $hasLinks = null, Title $title = null ) { @@ -319,7 +317,6 @@ class WikitextContent extends TextContent { * @param int $revId Revision to pass to the parser (default: null) * @param ParserOptions $options (default: null) * @param bool $generateHtml (default: true) - * @internal param \IContextSource|null $context * * @return ParserOutput Representing the HTML form of the text */ -- 2.20.1