bug #9190 Fix: duplicate usage of Symfony\Component\HttpFoundation\Response (realsim)
This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #9190). Discussion ---------- Fix: duplicate usage of Symfony\Component\HttpFoundation\Response Duplicate usage of Symfony\Component\HttpFoundation\Response causes an error: > PHP Fatal error: Cannot use Symfony\Component\HttpFoundation\Response as Response because the name is already in use in src/Symfony/Component/Security/Http/Authorization/AccessDeniedHandlerInterface.php on line 17 Commits ------- e602c09 Fix: duplicate usage of Symfony\Component\HttpFoundation\Response
This commit is contained in:
commit
ffe2fb9993
@ -14,7 +14,6 @@ namespace Symfony\Component\Security\Http\Authorization;
|
|||||||
use Symfony\Component\HttpFoundation\Request;
|
use Symfony\Component\HttpFoundation\Request;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
use Symfony\Component\Security\Core\Exception\AccessDeniedException;
|
||||||
use Symfony\Component\HttpFoundation\Response;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is used by the ExceptionListener to translate an AccessDeniedException
|
* This is used by the ExceptionListener to translate an AccessDeniedException
|
||||||
|
Reference in New Issue
Block a user