diff options
Diffstat (limited to 'app/Exceptions/FamilyAccessDeniedException.php')
| -rw-r--r-- | app/Exceptions/FamilyAccessDeniedException.php | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/app/Exceptions/FamilyAccessDeniedException.php b/app/Exceptions/FamilyAccessDeniedException.php index a8ebeedd17..eafc3cd1d0 100644 --- a/app/Exceptions/FamilyAccessDeniedException.php +++ b/app/Exceptions/FamilyAccessDeniedException.php @@ -23,11 +23,13 @@ use Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException; /** * Exception thrown when a family cannot be accessed due to privacy rules. */ -class FamilyAccessDeniedException extends AccessDeniedHttpException { - /** - * FamilyNotFoundException constructor. - */ - public function __construct() { - parent::__construct(I18N::translate('This family does not exist or you do not have permission to view it.')); - } +class FamilyAccessDeniedException extends AccessDeniedHttpException +{ + /** + * FamilyNotFoundException constructor. + */ + public function __construct() + { + parent::__construct(I18N::translate('This family does not exist or you do not have permission to view it.')); + } } |
