Style tweaks for getters and add more type hinting

This commit is contained in:
Alex Cabal 2024-04-30 22:45:20 -05:00
parent 9e31ed1aac
commit 50efeb05d1
13 changed files with 87 additions and 84 deletions

View file

@ -26,6 +26,10 @@ class ArtworkTag extends Tag{
// *******
// METHODS
// *******
/**
* @throws Exceptions\ValidationException
*/
public function Validate(): void{
$error = new Exceptions\InvalidArtworkTagException($this->Name);
@ -61,7 +65,7 @@ class ArtworkTag extends Tag{
}
/**
* @throws \Exceptions\ValidationException
* @throws Exceptions\ValidationException
*/
public static function GetOrCreate(ArtworkTag $artworkTag): ArtworkTag{
$result = Db::Query('