From 0a71e1e2eaa60ca565b16e9f7a74d8908ac492c9 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 3 Dec 2009 15:09:41 +0100 Subject: [PATCH] phpdoc --- framework/Util/lib/Horde/Util.php | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/framework/Util/lib/Horde/Util.php b/framework/Util/lib/Horde/Util.php index e130fe46b..2291ad6e3 100644 --- a/framework/Util/lib/Horde/Util.php +++ b/framework/Util/lib/Horde/Util.php @@ -217,12 +217,13 @@ class Horde_Util * there are existing parameters and whether to use ?, & or & as the * glue. All data will be urlencoded. * - * @param string $url The URL to modify - * @param mixed $parameter Either the name value -or- an array of - * name/value pairs. - * @param string $value If specified, the value part ($parameter is - * then assumed to just be the parameter name). - * @param boolean $encode Encode the argument separator? + * @param Horde_Url|string $url The URL to modify. + * @param mixed $parameter Either the name value -or- an array of + * name/value pairs. + * @param string $value If specified, the value part ($parameter + * is then assumed to just be the parameter + * name). + * @param boolean $encode Encode the argument separator? * * @return string The modified URL. */ @@ -245,9 +246,9 @@ class Horde_Util /** * Removes name=value pairs from a URL. * - * @param string $url The URL to modify. - * @param mixed $remove Either a single parameter to remove or an array - * of parameters to remove. + * @param Horde_Url|string $url The URL to modify. + * @param mixed $remove Either a single parameter to remove or an + * array of parameters to remove. * * @return string The modified URL. */ @@ -266,10 +267,10 @@ class Horde_Util * Returns a url with the 'nocache' parameter added, if the browser is * buggy and caches old URLs. * - * @param string $url The URL to modify. - * @param boolean $encode Encode the argument separator? + * @param Horde_Url|string $url The URL to modify. + * @param boolean $encode Encode the argument separator? * - * @return string The requested URI. + * @return string The requested URL. */ static public function nocacheUrl($url, $encode = true) { -- 2.11.0