1
0
Fork 0

Don't add the <?php prefix to the hover return data

pull/631/head
woutersioen 2018-04-06 14:56:13 +02:00
parent a0fe36174d
commit 0e04ba90bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;