mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 17:52:45 +01:00
Add slash
This commit is contained in:
parent
a16e03d992
commit
638e90356a
@ -687,7 +687,7 @@ class AssertionReconciler extends \Psalm\Type\Reconciler
|
|||||||
if ($new_type_part instanceof Type\Atomic\TTemplateParam
|
if ($new_type_part instanceof Type\Atomic\TTemplateParam
|
||||||
&& $new_type_part->as->isSingle()
|
&& $new_type_part->as->isSingle()
|
||||||
) {
|
) {
|
||||||
$new_as_atomic = array_values($new_type_part->as->getAtomicTypes())[0];
|
$new_as_atomic = \array_values($new_type_part->as->getAtomicTypes())[0];
|
||||||
$acceptable_atomic_types = [];
|
$acceptable_atomic_types = [];
|
||||||
|
|
||||||
foreach ($existing_var_type->getAtomicTypes() as $existing_var_type_part) {
|
foreach ($existing_var_type->getAtomicTypes() as $existing_var_type_part) {
|
||||||
|
Loading…
Reference in New Issue
Block a user