@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Symfony\Component\Config\FileLocator; |
| 13 | 13 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
| 14 | 14 | use Symfony\Component\DependencyInjection\Loader; |
| 15 | -use Symfony\Component\DependencyInjection\Reference; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author John Kleijn <[email protected]> |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | } elseif ($exception instanceof AuthenticationException) { |
| 87 | 87 | $this->statusCode = Response::HTTP_UNAUTHORIZED; |
| 88 | 88 | $this->severity = LogLevel::WARNING; |
| 89 | - } elseif ($exception instanceof AccessDeniedException || $exception instanceof AccessDeniedHttpException) { |
|
| 89 | + } elseif ($exception instanceof AccessDeniedException || $exception instanceof AccessDeniedHttpException) { |
|
| 90 | 90 | $this->statusCode = Response::HTTP_FORBIDDEN; |
| 91 | 91 | $this->severity = LogLevel::WARNING; |
| 92 | 92 | } else { |