mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 05:14:48 -04:00
Code style tweaks to satisfy PHPStan
This commit is contained in:
parent
658db66c2b
commit
5c4617d759
6 changed files with 19 additions and 6 deletions
|
@ -9,7 +9,7 @@ try{
|
|||
$query = HttpInput::GetString('query', false);
|
||||
$tags = HttpInput::GetArray('tags', []);
|
||||
$collection = HttpInput::GetString('collection', false);
|
||||
$view = Httpinput::GetString('view', false);
|
||||
$view = HttpInput::GetString('view', false);
|
||||
$sort = HttpInput::GetString('sort', false);
|
||||
$pages = 0;
|
||||
$totalEbooks = 0;
|
||||
|
@ -117,7 +117,7 @@ try{
|
|||
}
|
||||
|
||||
if($perPage !== EBOOKS_PER_PAGE){
|
||||
$queryString .= '&per-page=' . urlencode($perPage);
|
||||
$queryString .= '&per-page=' . urlencode((string)$perPage);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue