Skip to content

Commit 10e1a1b

Browse files
authored
Update PHPDoc for sfWebController::redirect() func
We can actually pass array to sfWebController::redirect() function as first parameter, but IDE wrongly highlights this as "Expected parameter of type 'string', 'array' provided".
1 parent d9a1684 commit 10e1a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/controller/sfWebController.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ 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
171+
* @param mixed $url An associative array of URL parameters or an internal URI as a string
172172
* @param int $delay A delay in seconds before redirecting. This is only needed on
173173
* browsers that do not support HTTP headers
174174
* @param int $statusCode The status code

0 commit comments

Comments
 (0)