Remove deprecated arguments

Argument creation was deprecated on the method tag. This is now removed.
This commit is contained in:
Jaapio
2026-01-01 20:56:36 +01:00
parent 7f416fbc30
commit bff00aaf74
6 changed files with 36 additions and 732 deletions
@@ -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()
+1 -1
View File
@@ -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 */