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