mirror of
https://github.com/standardebooks/web.git
synced 2025-07-22 15:24:46 -04:00
Bump PHPStan check level to max and add final round of type hints
This commit is contained in:
parent
110c091a7b
commit
70ae877dd8
15 changed files with 86 additions and 52 deletions
|
@ -23,9 +23,11 @@ if($type === 'atom'){
|
|||
}
|
||||
|
||||
try{
|
||||
/** @var array<stdClass> $feeds */
|
||||
$feeds = apcu_fetch('feeds-index-' . $type . '-' . $class);
|
||||
}
|
||||
catch(Safe\Exceptions\ApcuException){
|
||||
/** @var array<stdClass> $feeds */
|
||||
$feeds = Library::RebuildFeedsCache($type, $class);
|
||||
}
|
||||
?><?= Template::Header(['title' => $ucType . ' Ebook Feeds by ' . $ucTitle, 'description' => 'A list of available ' . $ucType . ' feeds of Standard Ebooks ebooks by ' . $lcTitle . '.']) ?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue