Skip to content

Commit 72cb197

Browse files
authored
dev: PHP 8 compat
1 parent 186b72c commit 72cb197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Comment.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public function markdown(): string
105105

106106
$description = $this->docBlock()->getDescription();
107107
// Unescape possibly escaped comment blocks
108-
$description = preg_replace('@(\s*)\*\\\/(\s*)$@m', '\1*/', $description);
108+
$description = preg_replace('@(\s*)\*\\\/(\s*)$@m', '\1*/', (string) $description);
109109

110110
$markdown .= $description;
111111

0 commit comments

Comments
 (0)