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,34 @@
<?php
namespace LanguageServerProtocol;
/**
* The result of a hover request.
*/
class Hover
{
/**
* The hover's content
*
* @var string|MarkedString|string[]|MarkedString[]|MarkupContent
*/
public $contents;
/**
* An optional range
*
* @var Range|null
*/
public $range;
/**
* @param string|MarkedString|string[]|MarkedString[]|MarkupContent $contents The hover's content
* @param Range $range An optional range
*/
public function __construct($contents = null, $range = null)
{
/** @psalm-suppress PossiblyNullPropertyAssignmentValue */
$this->contents = $contents;
$this->range = $range;
}
}