Skip to content

Commit

Permalink
Fixed ReflectionException: Class \LanguageServerProtocol\TextDocument…
Browse files Browse the repository at this point in the history
…ContentChangeEvent does not exist
  • Loading branch information
thbley committed Aug 14, 2021
1 parent f7def9f commit 0417749
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 0417749

Please sign in to comment.