Revert "This needs to be a string."
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 3 Dec 2009 21:30:14 +0000 (14:30 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 3 Dec 2009 21:31:03 +0000 (14:31 -0700)
This reverts commit 1c8eaff249d41c3cdcfac9595a0a94fda887dcd0.
Correct phpdoc return value.

framework/Core/lib/Horde.php

index 6bdb01f..38230de 100644 (file)
@@ -1102,7 +1102,7 @@ HTML;
      * @param integer $append_session  0 = only if needed, 1 = always, -1 =
      *                                 never.
      *
-     * @return string  The url with the session id appended.
+     * @return Horde_Url  The url with the session id appended.
      */
     static public function applicationUrl($uri, $full = false,
                                           $append_session = 0)
@@ -1119,7 +1119,7 @@ HTML;
             $uri = $webroot . $uri;
         }
 
-        return (string) self::url($uri, $full, $append_session);
+        return self::url($uri, $full, $append_session);
     }
 
     /**