Skip to content

Commit

Permalink
fix the annotation for the phpspy-like template
Browse files Browse the repository at this point in the history
  • Loading branch information
sj-i committed Jun 10, 2021
1 parent 2ed33ad commit 1ade5b4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/templates/phpspy.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@
declare(strict_types=1);

/**
* @var string[] $traces
* @var array<int, array{
* class?: string,
* function: string,
* file: string,
* line: int,
* }> $traces
*/
?>
<?php foreach ($traces as $depth => $trace): ?>
Expand Down

0 comments on commit 1ade5b4

Please sign in to comment.