mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 13:24: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
|
@ -31,11 +31,9 @@ catch(Exceptions\InvalidPermissionsException){
|
|||
Template::ExitWithCode(Enums\HttpCode::Forbidden);
|
||||
}
|
||||
?><?= Template::Header(
|
||||
[
|
||||
'title' => $user->DisplayName,
|
||||
'canonicalUrl' => $user->Url,
|
||||
'css' => ['/css/user.css']
|
||||
]
|
||||
title: $user->DisplayName,
|
||||
canonicalUrl: $user->Url,
|
||||
css: ['/css/user.css']
|
||||
) ?>
|
||||
<main>
|
||||
<section class="narrow">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue