Install psalm as dev, sync scripts updates
This commit is contained in:
31
vendor/felixfbecker/language-server-protocol/src/TextEdit.php
vendored
Normal file
31
vendor/felixfbecker/language-server-protocol/src/TextEdit.php
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
namespace LanguageServerProtocol;
|
||||
|
||||
/**
|
||||
* A textual edit applicable to a text document.
|
||||
*/
|
||||
class TextEdit
|
||||
{
|
||||
/**
|
||||
* The range of the text document to be manipulated. To insert
|
||||
* text into a document create a range where start === end.
|
||||
*
|
||||
* @var Range
|
||||
*/
|
||||
public $range;
|
||||
|
||||
/**
|
||||
* The string to be inserted. For delete operations use an
|
||||
* empty string.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
public $newText;
|
||||
|
||||
public function __construct(Range $range = null, string $newText = null)
|
||||
{
|
||||
$this->range = $range;
|
||||
$this->newText = $newText;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user