mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 02:46:46 -04:00
Tweak style
This commit is contained in:
parent
93adef171f
commit
e3ea224256
5 changed files with 29 additions and 35 deletions
|
@ -250,7 +250,11 @@ class Library{
|
|||
/**
|
||||
* @return array<Artwork>
|
||||
*/
|
||||
public static function GetArtworksByArtist(string $artistUrlName): array{
|
||||
public static function GetArtworksByArtist(?string $artistUrlName): array{
|
||||
if($artistUrlName === null){
|
||||
throw new Exceptions\ArtistNotFoundException();
|
||||
}
|
||||
|
||||
$artworks = Db::Query('
|
||||
SELECT art.*
|
||||
from Artworks art
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue