Put description in one line
parent
41e68decd0
commit
7c5ca5eb6a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue