From 3d38a9c3bb581c84f3eec9764093ed70d59220c5 Mon Sep 17 00:00:00 2001 From: Lars Moelleken Date: Tue, 18 Aug 2020 09:53:22 +0200 Subject: [PATCH] Param: fix phpdoc with reference hint (code style fixes v2) --- tests/unit/DocBlock/Tags/ParamTest.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/unit/DocBlock/Tags/ParamTest.php b/tests/unit/DocBlock/Tags/ParamTest.php index c4651ea..246b57e 100644 --- a/tests/unit/DocBlock/Tags/ParamTest.php +++ b/tests/unit/DocBlock/Tags/ParamTest.php @@ -255,7 +255,12 @@ class ParamTest extends TestCase $description = new Description('My Description'); $descriptionFactory->shouldReceive('create')->with('My Description', $context)->andReturn($description); - $fixture = Param::create('string &...$myParameter My Description', $typeResolver, $descriptionFactory, $context); + $fixture = Param::create( + 'string &...$myParameter My Description', + $typeResolver, + $descriptionFactory, + $context + ); $this->assertSame('string &...$myParameter My Description', (string) $fixture); $this->assertSame('myParameter', $fixture->getVariableName());