From: addshore Date: Sat, 18 Nov 2017 17:34:41 +0000 (+0000) Subject: @since tags & private class properties for TitleValue X-Git-Tag: 1.31.0-rc.0~1462^2 X-Git-Url: http://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=e1ec62a00b364e9fc354df9eeb94c99982847658 @since tags & private class properties for TitleValue Change-Id: I3d8315ade6aa70bda43d90b0b32b730d8c9cbd2e --- diff --git a/includes/title/TitleValue.php b/includes/title/TitleValue.php index 7c370f1ae5..e2ee9673e9 100644 --- a/includes/title/TitleValue.php +++ b/includes/title/TitleValue.php @@ -34,25 +34,26 @@ use Wikimedia\Assert\Assert; * @since 1.23 */ class TitleValue implements LinkTarget { + /** * @var int */ - protected $namespace; + private $namespace; /** * @var string */ - protected $dbkey; + private $dbkey; /** * @var string */ - protected $fragment; + private $fragment; /** * @var string */ - protected $interwiki; + private $interwiki; /** * Constructs a TitleValue. @@ -89,6 +90,7 @@ class TitleValue implements LinkTarget { } /** + * @since 1.23 * @return int */ public function getNamespace() { @@ -105,6 +107,7 @@ class TitleValue implements LinkTarget { } /** + * @since 1.23 * @return string */ public function getFragment() { @@ -122,6 +125,7 @@ class TitleValue implements LinkTarget { /** * Returns the title's DB key, as supplied to the constructor, * without namespace prefix or fragment. + * @since 1.23 * * @return string */ @@ -132,6 +136,7 @@ class TitleValue implements LinkTarget { /** * Returns the title in text form, * without namespace prefix or fragment. + * @since 1.23 * * This is computed from the DB key by replacing any underscores with spaces. * @@ -185,6 +190,7 @@ class TitleValue implements LinkTarget { * Returns a string representation of the title, for logging. This is purely informative * and must not be used programmatically. Use the appropriate TitleFormatter to generate * the correct string representation for a given use. + * @since 1.23 * * @return string */