fix some doxygen warnings
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 17 Sep 2008 14:26:43 +0000 (14:26 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Wed, 17 Sep 2008 14:26:43 +0000 (14:26 +0000)
includes/WatchedItem.php
includes/WebResponse.php

index 857357c..2d2d34f 100644 (file)
@@ -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 ) {
index aeb2c64..09d3738 100644 (file)
@@ -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;