X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/b2594b8040d49fc6bd1c1ff49a6acbc50dc4c29e..b93d6f12c16fed0b74441123a9c473c04732b1ff:/Handler/AccessDeniedHandler.php

diff --git a/Handler/AccessDeniedHandler.php b/Handler/AccessDeniedHandler.php
index b742db0..13727c9 100644
--- a/Handler/AccessDeniedHandler.php
+++ b/Handler/AccessDeniedHandler.php
@@ -1,8 +1,18 @@
-<?php
+<?php declare(strict_types=1);
+
+/*
+ * This file is part of the Rapsys AirBundle package.
+ *
+ * (c) Raphaël Gertz <symfony@rapsys.eu>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
 
 namespace Rapsys\AirBundle\Handler;
 
 use Symfony\Component\HttpFoundation\Request;
+use Symfony\Component\HttpFoundation\Response;
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
 use Symfony\Component\Security\Http\Authorization\AccessDeniedHandlerInterface;
 
@@ -16,7 +26,7 @@ class AccessDeniedHandler extends AbstractController implements AccessDeniedHand
 	/**
 	 * {@inheritdoc}
 	 */
-	public function handle(Request $request, AccessDeniedException $exception) {
+	public function handle(Request $request, AccessDeniedException $exception): Response {
 		//Set title
 		$this->context['title'] = $this->translator->trans('Access denied');