From 020430c66fbdc39ddb8abda3d0ccd00bec664ce3 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Tue, 5 Feb 2019 17:43:46 -0500 Subject: [PATCH] Recover better from union type errors in template names --- tests/Template/TemplateTest.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/Template/TemplateTest.php b/tests/Template/TemplateTest.php index d621bf0cb..9ab88612c 100644 --- a/tests/Template/TemplateTest.php +++ b/tests/Template/TemplateTest.php @@ -2018,7 +2018,7 @@ class TemplateTest extends TestCase $templated_list->add(5, []);', 'error_message' => 'InvalidArgument', ], - 'unionTemplateType' => [ + 'classTemplateUnionType' => [ ' 'InvalidDocblock' ], + 'functionTemplateUnionType' => [ + ' 'InvalidDocblock' + ], ]; } }