mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Remove deprecated arguments
Argument creation was deprecated on the method tag. This is now removed.
This commit is contained in:
@@ -217,14 +217,13 @@ DOC;
|
||||
[
|
||||
new Method(
|
||||
'setInteger',
|
||||
[],
|
||||
[
|
||||
new MethodParameter('integer', new Integer())
|
||||
],
|
||||
new Void_(),
|
||||
false,
|
||||
new Description(''),
|
||||
false,
|
||||
[
|
||||
new MethodParameter('integer', new Integer())
|
||||
]
|
||||
),
|
||||
],
|
||||
$docblock->getTags()
|
||||
|
||||
@@ -75,7 +75,7 @@ DOCBLOCK;
|
||||
|
||||
$this->assertInstanceOf(Method::class, $phpdoc->getTags()[0]);
|
||||
$this->assertEquals($expectedType, $phpdoc->getTags()[0]->getReturnType());
|
||||
$this->assertEquals($expectedType, $phpdoc->getTags()[0]->getParameters()[0]->getType());
|
||||
$this->assertEquals($expectedType, current($phpdoc->getTags()[0]->getParameters())->getType());
|
||||
}
|
||||
|
||||
/** @dataProvider invalidFormatsProvider */
|
||||
|
||||
Reference in New Issue
Block a user