From a1ce0224ad1cd311f83562469c7a764bc61c5c3f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 17 Sep 2008 14:26:43 +0000 Subject: [PATCH] fix some doxygen warnings --- includes/WatchedItem.php | 4 ++-- includes/WebResponse.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index 857357cfee..2d2d34f147 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -12,8 +12,8 @@ class WatchedItem { /** * Create a WatchedItem object with the given user and title - * @param User $user The user to use for (un)watching - * @param Title $title The title we're going to (un)watch + * @param $user User: the user to use for (un)watching + * @param $title Title: the title we're going to (un)watch * @return WatchedItem object */ public static function fromUserTitle( $user, $title ) { diff --git a/includes/WebResponse.php b/includes/WebResponse.php index aeb2c64523..09d373850f 100644 --- a/includes/WebResponse.php +++ b/includes/WebResponse.php @@ -9,17 +9,17 @@ class WebResponse { /** * Output a HTTP header, wrapper for PHP's * header() - * @param string $string Header to output - * @param bool $replace Replace current similar header + * @param $string String: header to output + * @param $replace Bool: replace current similar header */ public function header($string, $replace=true) { header($string,$replace); } /** Set the browser cookie - * @param string $name Name of cookie - * @param string $value Value to give cookie - * @param int $expire Number of seconds til cookie expires + * @param $name String: name of cookie + * @param $value String: value to give cookie + * @param $expire Int: number of seconds til cookie expires */ public function setcookie( $name, $value, $expire = 0 ) { global $wgCookiePath, $wgCookiePrefix, $wgCookieDomain; -- 2.20.1