mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 06:10:36 -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
|
@ -3,9 +3,9 @@
|
|||
* @var array<Project> $projects
|
||||
*/
|
||||
|
||||
$includeTitle = $includeTitle ?? true;
|
||||
$includeStatus = $includeStatus ?? true;
|
||||
$showEditButton = $showEditButton ?? false;
|
||||
$includeTitle ??= true;
|
||||
$includeStatus ??= true;
|
||||
$showEditButton ??= false;
|
||||
?>
|
||||
<table class="data-table">
|
||||
<caption aria-hidden="true">Scroll right →</caption>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue