Skip to content

Commit

Permalink
Merge pull request #6302 from thomasbley/master
Browse files Browse the repository at this point in the history
Fixed ReflectionException: Class \LanguageServerProtocol\TextDocumentContentChangeEvent does not exist
  • Loading branch information
weirdan authored Aug 14, 2021
2 parents f7def9f + 0417749 commit 1b19670
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Psalm/Internal/LanguageServer/Server/TextDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
use LanguageServerProtocol\MarkupKind;
use LanguageServerProtocol\Position;
use LanguageServerProtocol\Range;
use LanguageServerProtocol\TextDocumentContentChangeEvent;
use LanguageServerProtocol\TextDocumentIdentifier;
use LanguageServerProtocol\TextDocumentItem;
use LanguageServerProtocol\VersionedTextDocumentIdentifier;
Expand Down Expand Up @@ -98,8 +99,8 @@ public function didSave(TextDocumentItem $textDocument): void
/**
* 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
{
Expand Down

0 comments on commit 1b19670

Please sign in to comment.