minor #24680 [HttpFoundation] Fix RedirectResponse factory method phpdoc (ronfroy)
This PR was merged into the 2.7 branch.
Discussion
----------
[HttpFoundation] Fix RedirectResponse factory method phpdoc
| Q | A
| ------------- | ---
| Branch? | 2.7
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| License | MIT
Fix the phpdoc of the factory method on the RedirectResponse (signatures are different between Response and RedirectResponse).
Commits
-------
7cd3049454
fix the phpdoc that is not really inherited from response
This commit is contained in:
commit
b0cf42b32b
@ -44,7 +44,13 @@ class RedirectResponse extends Response
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* {@inheritdoc}
|
* Factory method for chainability.
|
||||||
|
*
|
||||||
|
* @param string $url The url to redirect to
|
||||||
|
* @param int $status The response status code
|
||||||
|
* @param array $headers An array of response headers
|
||||||
|
*
|
||||||
|
* @return static
|
||||||
*/
|
*/
|
||||||
public static function create($url = '', $status = 302, $headers = array())
|
public static function create($url = '', $status = 302, $headers = array())
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user