Install psalm as dev, sync scripts updates

This commit is contained in:
Clemens Schwaighofer
2023-03-09 16:27:10 +09:00
parent 6bec59e387
commit feba79a2e8
2099 changed files with 283333 additions and 32 deletions

View 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;
}
}