From fff32d0443b6e99e6fbdec43bd85a5bbe00e9c6b Mon Sep 17 00:00:00 2001 From: elnoro Date: Fri, 26 Feb 2021 03:42:20 +0500 Subject: [PATCH] added test for multiline templates (#5282) --- tests/Template/ClassTemplateTest.php | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/tests/Template/ClassTemplateTest.php b/tests/Template/ClassTemplateTest.php index e40fb3da9..b5e78268e 100644 --- a/tests/Template/ClassTemplateTest.php +++ b/tests/Template/ClassTemplateTest.php @@ -3322,6 +3322,27 @@ class ClassTemplateTest extends TestCase takesA($a); }', ], + 'templateIsAComplexMultilineType' => [ + 'value = $value; + } + /** @return T */ + public function getValue() { + return $this->value; + } + }' + ], ]; }