1
0
Fork 0

Update LanguageServer.php

pull/178/head
Felix Becker 2016-11-23 18:22:28 +01:00 committed by GitHub
parent 843b0e6852
commit 2baf2cd915
1 changed files with 1 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher
public $codeLens; public $codeLens;
/** /**
* ClientCapabilities * ClientCapabilities
*/ */
private $clientCapabilities; private $clientCapabilities;
@ -67,7 +67,6 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher
$this->protocolReader = $reader; $this->protocolReader = $reader;
$this->protocolReader->on('message', function (Message $msg) { $this->protocolReader->on('message', function (Message $msg) {
coroutine(function () use ($msg) { coroutine(function () use ($msg) {
// Ignore responses, this is the handler for requests and notifications // Ignore responses, this is the handler for requests and notifications
if (AdvancedJsonRpc\Response::isResponse($msg->body)) { if (AdvancedJsonRpc\Response::isResponse($msg->body)) {
return; return;