mirror of
https://github.com/danog/psalm.git
synced 2025-01-05 20:48:45 +01:00
more commas
This commit is contained in:
parent
ed46c772d8
commit
14309f07fc
@ -525,7 +525,7 @@ class Codebase extends PsalmCodebase
|
|||||||
null,
|
null,
|
||||||
new Command(
|
new Command(
|
||||||
'Trigger parameter hints',
|
'Trigger parameter hints',
|
||||||
'editor.action.triggerParameterHints',
|
'editor.action.triggerParameterHints'
|
||||||
),
|
),
|
||||||
null,
|
null,
|
||||||
2
|
2
|
||||||
@ -709,7 +709,7 @@ class Codebase extends PsalmCodebase
|
|||||||
$fq_class_name,
|
$fq_class_name,
|
||||||
$aliases && $aliases->namespace ? $aliases->namespace : null,
|
$aliases && $aliases->namespace ? $aliases->namespace : null,
|
||||||
$aliases->uses_flipped ?? [],
|
$aliases->uses_flipped ?? [],
|
||||||
null,
|
null
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($aliases &&
|
if ($aliases &&
|
||||||
@ -1021,7 +1021,7 @@ class Codebase extends PsalmCodebase
|
|||||||
strlen($signature_label),
|
strlen($signature_label),
|
||||||
strlen($signature_label) + strlen($parameter_label),
|
strlen($signature_label) + strlen($parameter_label),
|
||||||
],
|
],
|
||||||
$param->description ?? null,
|
$param->description ?? null
|
||||||
);
|
);
|
||||||
|
|
||||||
$signature_label .= $parameter_label;
|
$signature_label .= $parameter_label;
|
||||||
@ -1036,7 +1036,7 @@ class Codebase extends PsalmCodebase
|
|||||||
return new SignatureInformation(
|
return new SignatureInformation(
|
||||||
$signature_label,
|
$signature_label,
|
||||||
$parameters,
|
$parameters,
|
||||||
$signature_documentation,
|
$signature_documentation
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1094,7 +1094,7 @@ class Codebase extends PsalmCodebase
|
|||||||
|
|
||||||
[$fq_classlike_name, $const_name] = explode(
|
[$fq_classlike_name, $const_name] = explode(
|
||||||
'::',
|
'::',
|
||||||
$reference->symbol,
|
$reference->symbol
|
||||||
);
|
);
|
||||||
|
|
||||||
$class_constants = $this->classlikes->getConstantsForClass(
|
$class_constants = $this->classlikes->getConstantsForClass(
|
||||||
|
Loading…
Reference in New Issue
Block a user