Code style tweaks to satisfy PHPStan

This commit is contained in:
Alex Cabal 2020-12-08 14:32:53 -06:00
parent 658db66c2b
commit 5c4617d759
6 changed files with 19 additions and 6 deletions

View file

@ -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);
}
}