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