From dc62553269b5752f0dc9526cd99a58be74ee2285 Mon Sep 17 00:00:00 2001 From: Mike Colagrosso Date: Thu, 23 May 2024 22:16:53 -0600 Subject: [PATCH] Remove leading slash from exceptions in lib/Exceptions --- lib/Ebook.php | 8 ++++---- lib/EbookTag.php | 6 +++--- lib/LocSubject.php | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/Ebook.php b/lib/Ebook.php index 3f45d5ad..3845f624 100644 --- a/lib/Ebook.php +++ b/lib/Ebook.php @@ -581,7 +581,7 @@ class Ebook{ // ******* /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function Validate(): void{ /** @throws void */ @@ -759,7 +759,7 @@ class Ebook{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ private function InsertTagStrings(): void{ $tags = []; @@ -770,7 +770,7 @@ class Ebook{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ private function InsertLocSubjectStrings(): void{ $subjects = []; @@ -1083,7 +1083,7 @@ class Ebook{ // *********** /** - * @throws \Exceptions\EbookNotFoundException + * @throws Exceptions\EbookNotFoundException */ public static function GetByIdentifier(?string $identifier): Ebook{ if($identifier === null){ diff --git a/lib/EbookTag.php b/lib/EbookTag.php index bdb4158c..f059354b 100644 --- a/lib/EbookTag.php +++ b/lib/EbookTag.php @@ -24,7 +24,7 @@ class EbookTag extends Tag{ // ******* /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function Validate(): void{ $error = new Exceptions\ValidationException(); @@ -39,7 +39,7 @@ class EbookTag extends Tag{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function Create(): void{ $this->Validate(); @@ -52,7 +52,7 @@ class EbookTag extends Tag{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function GetByNameOrCreate(string $name): EbookTag{ $result = Db::Query(' diff --git a/lib/LocSubject.php b/lib/LocSubject.php index e33e8ea8..bd8a45cf 100644 --- a/lib/LocSubject.php +++ b/lib/LocSubject.php @@ -3,7 +3,7 @@ class LocSubject extends Tag{ public int $LocSubjectId; /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function Validate(): void{ $error = new Exceptions\ValidationException(); @@ -18,7 +18,7 @@ class LocSubject extends Tag{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function Create(): void{ $this->Validate(); @@ -31,7 +31,7 @@ class LocSubject extends Tag{ } /** - * @throws \Exceptions\ValidationException + * @throws Exceptions\ValidationException */ public function GetByNameOrCreate(string $name): LocSubject{ $result = Db::Query('