r40959 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r40958‎ | r40959 | r40960 >
Date:14:26, 17 September 2008
Author:ialex
Status:old
Tags:
Comment:
fix some doxygen warnings
Modified paths:
  • /trunk/phase3/includes/WatchedItem.php (modified) (history)
  • /trunk/phase3/includes/WebResponse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/WatchedItem.php
@@ -12,8 +12,8 @@
1313
1414 /**
1515 * Create a WatchedItem object with the given user and title
16 - * @param User $user The user to use for (un)watching
17 - * @param Title $title The title we're going to (un)watch
 16+ * @param $user User: the user to use for (un)watching
 17+ * @param $title Title: the title we're going to (un)watch
1818 * @return WatchedItem object
1919 */
2020 public static function fromUserTitle( $user, $title ) {
Index: trunk/phase3/includes/WebResponse.php
@@ -9,17 +9,17 @@
1010 /**
1111 * Output a HTTP header, wrapper for PHP's
1212 * header()
13 - * @param string $string Header to output
14 - * @param bool $replace Replace current similar header
 13+ * @param $string String: header to output
 14+ * @param $replace Bool: replace current similar header
1515 */
1616 public function header($string, $replace=true) {
1717 header($string,$replace);
1818 }
1919
2020 /** Set the browser cookie
21 - * @param string $name Name of cookie
22 - * @param string $value Value to give cookie
23 - * @param int $expire Number of seconds til cookie expires
 21+ * @param $name String: name of cookie
 22+ * @param $value String: value to give cookie
 23+ * @param $expire Int: number of seconds til cookie expires
2424 */
2525 public function setcookie( $name, $value, $expire = 0 ) {
2626 global $wgCookiePath, $wgCookiePrefix, $wgCookieDomain;