1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Add slash

This commit is contained in:
Brown 2020-02-06 11:58:39 -05:00
parent a16e03d992
commit 638e90356a

View File

@ -687,7 +687,7 @@ class AssertionReconciler extends \Psalm\Type\Reconciler
if ($new_type_part instanceof Type\Atomic\TTemplateParam
&& $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 = [];
foreach ($existing_var_type->getAtomicTypes() as $existing_var_type_part) {