File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ abstract class sfWebController extends sfController
2323 /**
2424 * Generates an URL from an array of parameters.
2525 *
26- * @param mixed $parameters An associative array of URL parameters or an internal URI as a string.
27- * @param boolean $absolute Whether to generate an absolute URL
26+ * @param string|array $parameters An associative array of URL parameters or an internal URI as a string.
27+ * @param boolean $absolute Whether to generate an absolute URL
2828 *
2929 * @return string A URL to a symfony resource
3030 */
@@ -168,10 +168,10 @@ public function convertUrlStringToParameters($url)
168168 /**
169169 * Redirects the request to another URL.
170170 *
171- * @param string $url An associative array of URL parameters or an internal URI as a string
172- * @param int $delay A delay in seconds before redirecting. This is only needed on
173- * browsers that do not support HTTP headers
174- * @param int $statusCode The status code
171+ * @param string|array $url An associative array of URL parameters or an internal URI as a string
172+ * @param int $delay A delay in seconds before redirecting. This is only needed on
173+ * browsers that do not support HTTP headers
174+ * @param int $statusCode The status code
175175 *
176176 * @throws InvalidArgumentException If the url argument is null or an empty string
177177 */
You can’t perform that action at this time.
0 commit comments