From 638e90356a9d911c5f32ea070fbe06448c44302f Mon Sep 17 00:00:00 2001 From: Brown Date: Thu, 6 Feb 2020 11:58:39 -0500 Subject: [PATCH] Add slash --- src/Psalm/Internal/Type/AssertionReconciler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Type/AssertionReconciler.php b/src/Psalm/Internal/Type/AssertionReconciler.php index b20c3cdbf..47f6651a6 100644 --- a/src/Psalm/Internal/Type/AssertionReconciler.php +++ b/src/Psalm/Internal/Type/AssertionReconciler.php @@ -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) {