mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 04:16:38 -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
|
@ -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('
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue