From 7c5ca5eb6a6d590dbbe3eda44ca337e13076711b Mon Sep 17 00:00:00 2001 From: Felix Becker Date: Tue, 22 Nov 2016 15:58:47 +0100 Subject: [PATCH] Put description in one line --- src/LanguageServer.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/LanguageServer.php b/src/LanguageServer.php index 8066b24..761b1a3 100644 --- a/src/LanguageServer.php +++ b/src/LanguageServer.php @@ -88,8 +88,7 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher $e ); } - // Only send a Response for a Request - // Notifications do not send Responses + // Only send a Response for a Request // Notifications do not send Responses if (AdvancedJsonRpc\Request::isRequest($msg->body)) { if ($error !== null) { $responseBody = new AdvancedJsonRpc\ErrorResponse($msg->body->id, $error); @@ -109,8 +108,7 @@ class LanguageServer extends AdvancedJsonRpc\Dispatcher * * @param ClientCapabilities $capabilities The capabilities provided by the client (editor) * @param string|null $rootPath The rootPath of the workspace. Is null if no folder is open. - * @param int|null $processId The process Id of the parent process that started the server. Is null if the process has not been started - * by another process. If the parent process is not alive then the server should exit (see exit notification) its process. + * @param int|null $processId The process Id of the parent process that started the server. Is null if the process has not been started by another process. If the parent process is not alive then the server should exit (see exit notification) its process. * @return InitializeResult */ public function initialize(ClientCapabilities $capabilities, string $rootPath = null, int $processId = null): InitializeResult