diff --git a/fixtures/signatureHelp/methodClosed.php b/fixtures/signatureHelp/methodClosed.php index a7430a5..924cd30 100644 --- a/fixtures/signatureHelp/methodClosed.php +++ b/fixtures/signatureHelp/methodClosed.php @@ -12,4 +12,4 @@ class HelpClass1 } $a = new HelpClass1; -$a->method(1, ); \ No newline at end of file +$a->method(); \ No newline at end of file diff --git a/tests/Server/TextDocument/SignatureHelpTest.php b/tests/Server/TextDocument/SignatureHelpTest.php index 87eed2a..33b10f5 100644 --- a/tests/Server/TextDocument/SignatureHelpTest.php +++ b/tests/Server/TextDocument/SignatureHelpTest.php @@ -72,13 +72,11 @@ class SignatureHelpTest extends TestCase $this->loader->open($completionUri, file_get_contents($completionUri)); $result = $this->textDocument->signatureHelp( new TextDocumentIdentifier($completionUri), - new Position(14, 14) + new Position(14, 11) )->wait(); $help = new SignatureHelp; $help->signatures = []; - $help->activeSignature = 0; - $help->activeParameter = 1; $info = new SignatureInformation; $help->signatures[] = $info; $info->label = 'method(string $param = "")';