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