Use ::class names instead of strings in LocSubject and EbookTag

This commit is contained in:
Mike Colagrosso 2024-06-14 14:56:08 -06:00 committed by Alex Cabal
parent 43416e76db
commit 4d321061c5
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class EbookTag extends Tag{
SELECT *
from Tags
where Name = ?
', [$name], 'EbookTag');
', [$name], EbookTag::class);
if(isset($result[0])){
return $result[0];