fix the phpdoc that is not really inherited from response

This commit is contained in:
Rudy Onfroy 2017-10-24 20:35:27 +02:00
parent fd225b0719
commit 7cd3049454
1 changed files with 7 additions and 1 deletions

View File

@ -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())
{