Don't add the <?php prefix to the hover return data
parent
a0fe36174d
commit
0e04ba90bd
|
@ -338,7 +338,7 @@ class TextDocument
|
|||
}
|
||||
$contents = [];
|
||||
if ($def->declarationLine) {
|
||||
$contents[] = new MarkedString('php', "<?php\n" . $def->declarationLine);
|
||||
$contents[] = new MarkedString('php', $def->declarationLine);
|
||||
}
|
||||
if ($def->documentation) {
|
||||
$contents[] = $def->documentation;
|
||||
|
|
Loading…
Reference in New Issue