Install psalm as dev, sync scripts updates
This commit is contained in:
27
vendor/felixfbecker/language-server-protocol/src/Location.php
vendored
Normal file
27
vendor/felixfbecker/language-server-protocol/src/Location.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace LanguageServerProtocol;
|
||||
|
||||
/**
|
||||
* Represents a location inside a resource, such as a line inside a text file.
|
||||
*/
|
||||
class Location
|
||||
{
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public $uri;
|
||||
|
||||
/**
|
||||
* @var Range
|
||||
*/
|
||||
public $range;
|
||||
|
||||
public function __construct(string $uri = null, Range $range = null)
|
||||
{
|
||||
/** @psalm-suppress PossiblyNullPropertyAssignmentValue */
|
||||
$this->uri = $uri;
|
||||
/** @psalm-suppress PossiblyNullPropertyAssignmentValue */
|
||||
$this->range = $range;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user