Add PHPDocs and code formatting

This commit is contained in:
Alex Cabal 2024-11-20 14:23:42 -06:00
parent ac733df938
commit 3f822b85c3
4 changed files with 53 additions and 19 deletions

View file

@ -1951,7 +1951,7 @@ class Ebook{
inner join EbookTags et using (EbookId)
where et.TagId = ?
and et.EbookId != ?
order by RAND()
order by rand()
limit ?
', [$relatedTag->TagId, $ebook->EbookId, $count], Ebook::class);
}
@ -1960,7 +1960,7 @@ class Ebook{
SELECT *
from Ebooks
where EbookId != ?
order by RAND()
order by rand()
limit ?
', [$ebook->EbookId, $count], Ebook::class);
}