mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 04:16:38 -04:00
Add PHPDocs and code formatting
This commit is contained in:
parent
ac733df938
commit
3f822b85c3
4 changed files with 53 additions and 19 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue