mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 19:06:49 -04:00
Remove leading slash from exceptions in lib/Exceptions
This commit is contained in:
parent
5c69923176
commit
dc62553269
3 changed files with 10 additions and 10 deletions
|
@ -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('
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue