Skip to content

Commit

Permalink
Merge pull request #8876 from weirdan/fix-8873
Browse files Browse the repository at this point in the history
Fixes #8873
  • Loading branch information
weirdan committed Dec 10, 2022
2 parents 16cdeb9 + d19759c commit 1750ec1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Psalm/Internal/LanguageServer/LanguageServer.php
Expand Up @@ -15,6 +15,7 @@
use Amp\Success;
use Generator;
use InvalidArgumentException;
use JsonMapper;
use LanguageServerProtocol\ClientCapabilities;
use LanguageServerProtocol\CompletionOptions;
use LanguageServerProtocol\Diagnostic;
Expand Down Expand Up @@ -108,6 +109,13 @@ class LanguageServer extends Dispatcher
*/
protected $current_issues = [];

/**
* This should actually be a private property on `parent`
* @psalm-suppress UnusedProperty
* @var JsonMapper
*/
protected $mapper;

public function __construct(
ProtocolReader $reader,
ProtocolWriter $writer,
Expand Down

0 comments on commit 1750ec1

Please sign in to comment.