Merge 7d90df69f4
into 57604e61f1
commit
0a78662b93
|
@ -58,7 +58,7 @@ class LanguageServer extends \AdvancedJsonRpc\Dispatcher
|
||||||
* @param ClientCapabilities $capabilities The capabilities provided by the client (editor)
|
* @param ClientCapabilities $capabilities The capabilities provided by the client (editor)
|
||||||
* @return InitializeResult
|
* @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();
|
$serverCapabilities = new ServerCapabilities();
|
||||||
// Ask the client to return always full documents (because we need to rebuild the AST from scratch)
|
// Ask the client to return always full documents (because we need to rebuild the AST from scratch)
|
||||||
|
|
Loading…
Reference in New Issue