Skip to content

Commit

Permalink
Fixed PHP 8.0 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Jan 25, 2021
1 parent a8e51ac commit 5ba5c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Displayer/HtmlDisplayer.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private function render(array $info)
$info['favicon_url'] = $generator('favicon.ico');

foreach ($info as $key => $val) {
$content = str_replace("{{ $$key }}", $val, $content);
$content = str_replace("{{ $$key }}", (string) $val, (string) $content);
}

return $content;
Expand Down

0 comments on commit 5ba5c47

Please sign in to comment.