From a0f61ebe8cef0a5c170827b73f48aea315eeb0cb Mon Sep 17 00:00:00 2001 From: jens1o Date: Sun, 9 Apr 2017 20:50:36 +0200 Subject: [PATCH] fix documentations --- fixtures/completion/constant_with_namespace.php | 2 +- src/Index/Index.php | 2 +- tests/Server/TextDocument/CompletionTest.php | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fixtures/completion/constant_with_namespace.php b/fixtures/completion/constant_with_namespace.php index cade11f..085036d 100644 --- a/fixtures/completion/constant_with_namespace.php +++ b/fixtures/completion/constant_with_namespace.php @@ -9,7 +9,7 @@ namespace HELLO { } - \HE + \He } namespace { diff --git a/src/Index/Index.php b/src/Index/Index.php index 5c24813..b753476 100644 --- a/src/Index/Index.php +++ b/src/Index/Index.php @@ -117,7 +117,7 @@ class Index implements ReadableIndex, \Serializable * Registers a definition * * @param string $fqn The fully qualified name of the symbol - * @param string $definition The Definition object + * @param Definition $definition The Definition object * @return void */ public function setDefinition(string $fqn, Definition $definition) diff --git a/tests/Server/TextDocument/CompletionTest.php b/tests/Server/TextDocument/CompletionTest.php index ad9b38d..1858363 100644 --- a/tests/Server/TextDocument/CompletionTest.php +++ b/tests/Server/TextDocument/CompletionTest.php @@ -237,7 +237,6 @@ class CompletionTest extends TestCase new Position(11, 7) )->wait(); - var_dump($items); $this->assertEquals(new CompletionList([ new CompletionItem( 'HELLO',