Skip to content

Commit

Permalink
Add type hints to template
Browse files Browse the repository at this point in the history
  • Loading branch information
jissereitsma committed Sep 12, 2024
1 parent 770f683 commit eb64d72
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions view/whoops/views/header.html.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
<?php
declare(strict_types=1);

use Whoops\Util\TemplateHelper;

/** @var TemplateHelper $tpl */
/** @var string[] $name */
/** @var int $code */
/** @var string[] $previousMessages */
/** @var int[] $previousCodes */
/** @var string $plain_exception */
?>
<div class="exception">
<div class="exc-title">
<?php foreach ($name as $i => $nameSection): ?>
Expand Down

0 comments on commit eb64d72

Please sign in to comment.