From: aude Date: Mon, 15 Feb 2016 11:56:25 +0000 (+0100) Subject: Fix typo and improve code comments in LinkTarget X-Git-Tag: 1.31.0-rc.0~7836^2 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=072fdb91092ef814108d1162f3aa5cf9f0f1f81b;p=lhc%2Fweb%2Fwiklou.git Fix typo and improve code comments in LinkTarget Change-Id: I53cd07fafd00ded65e2657db96f94170013abed8 --- diff --git a/includes/LinkTarget.php b/includes/LinkTarget.php index 1ce5f32339..175a8392a8 100644 --- a/includes/LinkTarget.php +++ b/includes/LinkTarget.php @@ -8,29 +8,28 @@ interface LinkTarget { /** - * Get the namespace index + * Get the namespace index. * * @return int Namespace index */ public function getNamespace(); /** - * Get the link fragment (i.e.\ the bit after the #) in text form + * Get the link fragment (i.e. the bit after the #) in text form. * * @return string link fragment */ public function getFragment(); /** - * Get the main part with underscores + * Get the main part with underscores. * - * @return string Main part of the link, with underscores (for use in hrf attributes) + * @return string Main part of the link, with underscores (for use in href attributes) */ public function getDBkey(); /** - * Returns the link in text form, - * without namespace prefix or fragment. + * Returns the link in text form, without namespace prefix or fragment. * * This is computed from the DB key by replacing any underscores with spaces. *