aboutsummaryrefslogtreecommitdiffstats
path: root/includes/parser/LinkHolderArray.php
diff options
context:
space:
mode:
authorSiebrand Mazeland <siebrand@kitano.nl>2014-05-11 01:05:51 +0200
committerSiebrand Mazeland <siebrand@kitano.nl>2014-05-11 18:18:26 +0200
commitdfc7416fbe01b654b7062dcfebf4943a6ba33907 (patch)
tree811269681b76fcb111688cb10df5cc5e3e05c497 /includes/parser/LinkHolderArray.php
parentb02ebdfb118f6ca214fb20a4de10d8a74f4a6796 (diff)
downloadmediawikicore-dfc7416fbe01b654b7062dcfebf4943a6ba33907.tar.gz
mediawikicore-dfc7416fbe01b654b7062dcfebf4943a6ba33907.zip
Various documentation updates for includes/parser/
Change-Id: I16dd3a792cc83f8c80b3652d42c055730f6d177a
Diffstat (limited to 'includes/parser/LinkHolderArray.php')
-rw-r--r--includes/parser/LinkHolderArray.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/includes/parser/LinkHolderArray.php b/includes/parser/LinkHolderArray.php
index dc0f93359afd..fd84265f3c34 100644
--- a/includes/parser/LinkHolderArray.php
+++ b/includes/parser/LinkHolderArray.php
@@ -161,6 +161,7 @@ class LinkHolderArray {
/**
* Get a subset of the current LinkHolderArray which is sufficient to
* interpret the given text.
+ * @param string $text
* @return LinkHolderArray
*/
function getSubArray( $text ) {
@@ -263,12 +264,14 @@ class LinkHolderArray {
/**
* Replace <!--LINK--> link placeholders with actual links, in the buffer
*
+ * @param $text
* @return array Array of link CSS classes, indexed by PDBK.
*/
function replace( &$text ) {
wfProfileIn( __METHOD__ );
- $colours = $this->replaceInternal( $text ); // FIXME: replaceInternal doesn't return a value
+ /** @todo FIXME: replaceInternal doesn't return a value */
+ $colours = $this->replaceInternal( $text );
$this->replaceInterwiki( $text );
wfProfileOut( __METHOD__ );