Fix issue that each method param overrides the initial input message.
This commit is contained in:
parent
95a91bb8bb
commit
2e9dc9a34d
|
@ -63,8 +63,6 @@ class Method
|
||||||
|
|
||||||
public function addInput($name, $type)
|
public function addInput($name, $type)
|
||||||
{
|
{
|
||||||
$this->input = new Message($name);
|
|
||||||
|
|
||||||
$this->input->add($name, $type);
|
$this->input->add($name, $type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue