summaryrefslogtreecommitdiff
path: root/app/Exceptions/FamilyNotFoundException.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Exceptions/FamilyNotFoundException.php')
-rw-r--r--app/Exceptions/FamilyNotFoundException.php16
1 files changed, 9 insertions, 7 deletions
diff --git a/app/Exceptions/FamilyNotFoundException.php b/app/Exceptions/FamilyNotFoundException.php
index dbb8ee129b..53899872ef 100644
--- a/app/Exceptions/FamilyNotFoundException.php
+++ b/app/Exceptions/FamilyNotFoundException.php
@@ -23,11 +23,13 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
/**
* Exception thrown when a family does not exist.
*/
-class FamilyNotFoundException extends NotFoundHttpException {
- /**
- * FamilyNotFoundException constructor.
- */
- public function __construct() {
- parent::__construct(I18N::translate('This family does not exist or you do not have permission to view it.'));
- }
+class FamilyNotFoundException extends NotFoundHttpException
+{
+ /**
+ * FamilyNotFoundException constructor.
+ */
+ public function __construct()
+ {
+ parent::__construct(I18N::translate('This family does not exist or you do not have permission to view it.'));
+ }
}