Skip to content

Commit aa68163

Browse files
cmdeviantIvan Voskoboinyk
andauthored
sfWebController::redirect() - PHPDoc with more precise types
The more precise the types are, the better IDE will help preventing errors. Co-authored-by: Ivan Voskoboinyk <ivan.voskoboinyk@gmail.com>
1 parent 10e1a1b commit aa68163

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 mixed $url An associative array of URL parameters or an internal URI as a string
171+
* @param string|array $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)