1
0
Fork 0
pull/6/merge
Kaloyan Raev 2016-09-02 12:20:23 +00:00 committed by GitHub
commit 0a78662b93
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ class LanguageServer extends \AdvancedJsonRpc\Dispatcher
* @param ClientCapabilities $capabilities The capabilities provided by the client (editor)
* @return InitializeResult
*/
public function initialize(string $rootPath, int $processId, ClientCapabilities $capabilities): InitializeResult
public function initialize(string $rootPath, int $processId, ClientCapabilities $capabilities = null): InitializeResult
{
$serverCapabilities = new ServerCapabilities();
// Ask the client to return always full documents (because we need to rebuild the AST from scratch)