Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/Cache/ClientCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
*/
class ClientCache implements Cache
{
/**
* @var LanguageClient
*/
public $client;

/**
* @param LanguageClient $client
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Client/TextDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace LanguageServer\Client;

use LanguageServer\ClientHandler;
use LanguageServerProtocol\{TextDocumentItem, TextDocumentIdentifier};
use LanguageServerProtocol\{Diagnostic, TextDocumentItem, TextDocumentIdentifier};
use Sabre\Event\Promise;
use JsonMapper;

Expand Down
4 changes: 2 additions & 2 deletions src/Definition.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace LanguageServer;

use LanguageServer\Index\ReadableIndex;
use phpDocumentor\Reflection\{Types, Type, Fqsen, TypeResolver};
use phpDocumentor\Reflection\{Types, Type, TypeResolver};
use LanguageServerProtocol\SymbolInformation;
use Generator;

Expand Down Expand Up @@ -80,7 +80,7 @@ class Definition
* Can also be a compound type.
* If it is unknown, will be Types\Mixed_.
*
* @var \phpDocumentor\Type|null
* @var Type|null
*/
public $type;

Expand Down
1 change: 0 additions & 1 deletion src/Index/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ public function unserialize($serialized)
}

/**
* @param string $serialized
* @return string
*/
public function serialize()
Expand Down
2 changes: 1 addition & 1 deletion src/PhpDocument.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PhpDocument
/**
* Map from fully qualified name (FQN) to Node
*
* @var Node
* @var Node[]
*/
private $definitionNodes;

Expand Down
3 changes: 1 addition & 2 deletions src/SignatureHelpProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
use LanguageServer\Index\ReadableIndex;
use LanguageServerProtocol\{
Position,
SignatureHelp,
ParameterInformation
SignatureHelp
};
use Microsoft\PhpParser\Node;
use Sabre\Event\Promise;
Expand Down