Skip to content

Commit 9b25380

Browse files
authored
Merge pull request #31 from wit3/patch-1
2 parents bc0925c + 09665b4 commit 9b25380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Middleware/ServerTimingMiddleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ protected function generateHeaders(): string
6666
foreach ($this->timing->events() as $eventName => $duration) {
6767
$eventNameSlug = Str::slug($eventName);
6868

69-
$header .= "${eventNameSlug};desc=\"${eventName}\";";
69+
$header .= "{$eventNameSlug};desc=\"{$eventName}\";";
7070

7171
if (!is_null($duration)) {
72-
$header .= "dur=${duration}";
72+
$header .= "dur={$duration}";
7373
}
7474

7575
$header .= ", ";

0 commit comments

Comments
 (0)