We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c77af75 commit d8634f5Copy full SHA for d8634f5
1 file changed
tests/model/MethodTest.php
@@ -40,6 +40,10 @@ public function testParameters() {
40
$this->assertSame($method, $method->replaceParameter(0, $param = new PhpParameter('a')));
41
$params[0] = $param;
42
$this->assertSame($params, $method->getParameters());
43
+
44
+ $method->removeParameter($param);
45
+ $method->removeParameter('c');
46
+ $this->assertEquals([], $method->getParameters());
47
}
48
49
/**
0 commit comments