mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Completely type hint template functions and switch to named arguments
This commit is contained in:
parent
6108b5e53d
commit
124e8343fc
125 changed files with 542 additions and 450 deletions
|
@ -61,7 +61,7 @@ try{
|
|||
catch(Exceptions\InvalidFileException | Exceptions\EbookNotFoundException){
|
||||
Template::ExitWithCode(Enums\HttpCode::NotFound);
|
||||
}
|
||||
?><?= Template::Header(['title' => 'Your Download Has Started!', 'downloadUrl' => $downloadUrl]) ?>
|
||||
?><?= Template::Header(title: 'Your Download Has Started!', downloadUrl: $downloadUrl) ?>
|
||||
<main class="donate">
|
||||
<h1>Your Download Has Started!</h1>
|
||||
<div class="thank-you-container">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue