From 7d7d6cb56a001c74f3b8103aea73513837f12ce9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Sun, 3 Apr 2011 08:33:53 +0000 Subject: [PATCH] Follow-up r85226, r85227: add @since annotations --- includes/OutputPage.php | 3 +++ includes/SpecialPage.php | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 1ef96a8a84..dc3ad88512 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -779,6 +779,7 @@ class OutputPage { * Set the User object to use * * @param $u User object + * @since 1.18 */ public function setUser( $u ) { $this->mUser = $u; @@ -788,6 +789,7 @@ class OutputPage { * Get the User object used in this instance * * @return User + * @since 1.18 */ public function getUser() { if ( !isset($this->mUser) ) { @@ -802,6 +804,7 @@ class OutputPage { * Get the Skin object used to render this instance * * @return Skin + * @since 1.18 */ public function getSkin() { // For now we'll just proxy to the user. In the future a saner location for diff --git a/includes/SpecialPage.php b/includes/SpecialPage.php index 6bd224eadc..ee6d390fc4 100644 --- a/includes/SpecialPage.php +++ b/includes/SpecialPage.php @@ -1006,6 +1006,7 @@ class SpecialPage { * Get the WebRequest being used for this instance * * @return WebRequest + * @since 1.18 */ public function getRequest() { if ( !isset($this->mRequest) ) { @@ -1020,6 +1021,7 @@ class SpecialPage { * Get the OutputPage being used for this instance * * @return OutputPage + * @since 1.18 */ public function getOutput() { if ( !isset($this->mOutput) ) { @@ -1034,6 +1036,7 @@ class SpecialPage { * Shortcut to get the skin being used for this instance * * @return User + * @since 1.18 */ public function getUser() { return $this->getOutput()->getUser(); @@ -1043,6 +1046,7 @@ class SpecialPage { * Shortcut to get the skin being used for this instance * * @return Skin + * @since 1.18 */ public function getSkin() { return $this->getOutput()->getSkin(); -- 2.20.1