Skip to content

Commit 3d38a9c

Browse files
committed
Param: fix phpdoc with reference hint (code style fixes v2)
1 parent b5f863d commit 3d38a9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/unit/DocBlock/Tags/ParamTest.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@ public function testFactoryMethodWithVariadicReference() : void
255255
$description = new Description('My Description');
256256
$descriptionFactory->shouldReceive('create')->with('My Description', $context)->andReturn($description);
257257

258-
$fixture = Param::create('string &...$myParameter My Description', $typeResolver, $descriptionFactory, $context);
258+
$fixture = Param::create(
259+
'string &...$myParameter My Description',
260+
$typeResolver,
261+
$descriptionFactory,
262+
$context
263+
);
259264

260265
$this->assertSame('string &...$myParameter My Description', (string) $fixture);
261266
$this->assertSame('myParameter', $fixture->getVariableName());

0 commit comments

Comments
 (0)