summaryrefslogtreecommitdiffstats
path: root/Http/HttpUtils.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2013-09-27 18:31:48 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2013-09-27 18:31:48 +0200
commit974b6da0d0f1f602f80280604eff38a829c23814 (patch)
treea44afa89658cbe110f558c4faed8fbeb3bc9de3d /Http/HttpUtils.php
parent166cd180b8f3179d3b63e839093f1658a24e7822 (diff)
downloadsymfony-security-974b6da0d0f1f602f80280604eff38a829c23814.zip
symfony-security-974b6da0d0f1f602f80280604eff38a829c23814.tar.gz
symfony-security-974b6da0d0f1f602f80280604eff38a829c23814.tar.bz2
[Security] fixed wrong phpdoc
Diffstat (limited to 'Http/HttpUtils.php')
-rw-r--r--Http/HttpUtils.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Http/HttpUtils.php b/Http/HttpUtils.php
index 0588359..65ab914 100644
--- a/Http/HttpUtils.php
+++ b/Http/HttpUtils.php
@@ -13,7 +13,6 @@ namespace Symfony\Component\Security\Http;
use Symfony\Component\Security\Core\SecurityContextInterface;
-use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Symfony\Component\Routing\Matcher\UrlMatcherInterface;
@@ -21,7 +20,6 @@ use Symfony\Component\Routing\Matcher\RequestMatcherInterface;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Routing\Exception\MethodNotAllowedException;
use Symfony\Component\Routing\Exception\ResourceNotFoundException;
-use Symfony\Component\HttpFoundation\Response;
/**
* Encapsulates the logic needed to create sub-requests, redirect the user, and match URLs.
@@ -57,7 +55,7 @@ class HttpUtils
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
* @param integer $status The status code
*
- * @return Response A RedirectResponse instance
+ * @return RedirectResponse A RedirectResponse instance
*/
public function createRedirectResponse(Request $request, $path, $status = 302)
{