Remove leading slash from exceptions in lib/Exceptions

This commit is contained in:
Mike Colagrosso 2024-05-23 22:16:53 -06:00 committed by Alex Cabal
parent 5c69923176
commit dc62553269
3 changed files with 10 additions and 10 deletions

View file

@ -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){

View file

@ -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('

View file

@ -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('