Fixed doc blocks
parent
412a88428e
commit
549645b72d
|
@ -32,10 +32,10 @@ class SignatureHelp
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param SignatureInformation[] $signatures The signatures.
|
* @param SignatureInformation[] $signatures The signatures.
|
||||||
* @param bool $activeSignature The active signature.
|
* @param int|null $activeSignature The active signature.
|
||||||
* @param bool $activeParameter The active parameter of the active signature.
|
* @param int|null $activeParameter The active parameter of the active signature.
|
||||||
*/
|
*/
|
||||||
public function __construct(array $signatures = [], int $activeSignature = 0, int $activeParameter = 0)
|
public function __construct(array $signatures = [], int $activeSignature = null, int $activeParameter = null)
|
||||||
{
|
{
|
||||||
$this->signatures = $signatures;
|
$this->signatures = $signatures;
|
||||||
$this->activeSignature = $activeSignature;
|
$this->activeSignature = $activeSignature;
|
||||||
|
|
|
@ -35,7 +35,7 @@ class SignatureInformation
|
||||||
/**
|
/**
|
||||||
* @param string $label The label of this signature. Will be shown in the UI.
|
* @param string $label The label of this signature. Will be shown in the UI.
|
||||||
* @param string|null $documentation The human-readable doc-comment of this signature.
|
* @param string|null $documentation The human-readable doc-comment of this signature.
|
||||||
* @param ParameterInformation[] $parameters The parameters of this signature.
|
* @param ParameterInformation[]|null $parameters The parameters of this signature.
|
||||||
*/
|
*/
|
||||||
public function __construct(string $label = null, string $documentation = null, array $parameters = [])
|
public function __construct(string $label = null, string $documentation = null, array $parameters = [])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue