diff --git a/src/Server/TextDocument.php b/src/Server/TextDocument.php index e5657b3..f6362a5 100644 --- a/src/Server/TextDocument.php +++ b/src/Server/TextDocument.php @@ -338,7 +338,7 @@ class TextDocument } $contents = []; if ($def->declarationLine) { - $contents[] = new MarkedString('php', "declarationLine); + $contents[] = new MarkedString('php', $def->declarationLine); } if ($def->documentation) { $contents[] = $def->documentation;