Add more type hints and work on some code formatting

This commit is contained in:
Alex Cabal 2024-11-08 13:50:59 -06:00
parent 06b82cdaaa
commit c3c588cc1b
35 changed files with 343 additions and 167 deletions

View file

@ -1,4 +1,13 @@
<?
/**
* @var string $id
* @var string $url
* @var string $title
* @var ?string $subtitle
* @var DateTimeImmutable $updated
* @var array<Ebook> $entries
*/
$subtitle = $subtitle ?? null;
// Note that the XSL stylesheet gets stripped during `se clean` when we generate the feed.