From 7cd3049454b173c2d26fdabc2e7a5b4321646ff1 Mon Sep 17 00:00:00 2001 From: Rudy Onfroy Date: Tue, 24 Oct 2017 20:35:27 +0200 Subject: [PATCH] fix the phpdoc that is not really inherited from response --- src/Symfony/Component/HttpFoundation/RedirectResponse.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/RedirectResponse.php b/src/Symfony/Component/HttpFoundation/RedirectResponse.php index 4118fff24c..23eb04a19f 100644 --- a/src/Symfony/Component/HttpFoundation/RedirectResponse.php +++ b/src/Symfony/Component/HttpFoundation/RedirectResponse.php @@ -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()) {