mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Param: fix phpdoc with reference hint (code style fixes v2)
This commit is contained in:
@@ -255,7 +255,12 @@ class ParamTest extends TestCase
|
|||||||
$description = new Description('My Description');
|
$description = new Description('My Description');
|
||||||
$descriptionFactory->shouldReceive('create')->with('My Description', $context)->andReturn($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('string &...$myParameter My Description', (string) $fixture);
|
||||||
$this->assertSame('myParameter', $fixture->getVariableName());
|
$this->assertSame('myParameter', $fixture->getVariableName());
|
||||||
|
|||||||
Reference in New Issue
Block a user