mirror of
https://github.com/standardebooks/web.git
synced 2025-07-16 03:16:36 -04:00
Fix some PHPStan errors
This commit is contained in:
parent
7071504034
commit
fe247568bb
3 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@ require_once('Core.php');
|
|||
|
||||
$ebooks = [];
|
||||
$author = '';
|
||||
$authorUrl = '';
|
||||
|
||||
try{
|
||||
$urlPath = trim(str_replace('.', '', HttpInput::Str(GET, 'url-path', true) ?? ''), '/'); // Contains the portion of the URL (without query string) that comes after https://standardebooks.org/ebooks/
|
||||
|
|
|
@ -20,6 +20,8 @@ try{
|
|||
$queryString = '';
|
||||
$feedUrl = null;
|
||||
$feedTitle = '';
|
||||
$collectionName = '';
|
||||
$collectionType = '';
|
||||
|
||||
if($page <= 0){
|
||||
$page = 1;
|
||||
|
|
|
@ -6,6 +6,8 @@ $collection = HttpInput::Str(GET, 'collection', false);
|
|||
$name = null;
|
||||
$target = null;
|
||||
$feedTypes = ['opds', 'atom', 'rss'];
|
||||
$feedTitle = '';
|
||||
$feedUrl = '';
|
||||
$title = '';
|
||||
$description = '';
|
||||
$label = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue