1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-04 18:48:03 +01:00

Fixed ReflectionException: Class \LanguageServerProtocol\TextDocumentContentChangeEvent does not exist

This commit is contained in:
Thomas Bley 2021-08-14 05:54:36 +02:00
parent f7def9fecf
commit 04177496cc

View File

@ -11,6 +11,7 @@ use LanguageServerProtocol\MarkupContent;
use LanguageServerProtocol\MarkupKind;
use LanguageServerProtocol\Position;
use LanguageServerProtocol\Range;
use LanguageServerProtocol\TextDocumentContentChangeEvent;
use LanguageServerProtocol\TextDocumentIdentifier;
use LanguageServerProtocol\TextDocumentItem;
use LanguageServerProtocol\VersionedTextDocumentIdentifier;
@ -98,8 +99,8 @@ class TextDocument
/**
* The document change notification is sent from the client to the server to signal changes to a text document.
*
* @param \LanguageServerProtocol\VersionedTextDocumentIdentifier $textDocument
* @param \LanguageServerProtocol\TextDocumentContentChangeEvent[] $contentChanges
* @param VersionedTextDocumentIdentifier $textDocument
* @param TextDocumentContentChangeEvent[] $contentChanges
*/
public function didChange(VersionedTextDocumentIdentifier $textDocument, array $contentChanges): void
{