public function replaceParameter(int $position, PhpParameter $parameter) {
		$this->checkPosition($position);
		$this->parameters[$position] = $parameter;

		return $this;
	}
public function replaceParameter(int $position, PhpParameter $parameter) {
		$this->checkPosition($position);
		$this->parameters[$position] = $parameter;

		return $this;
	}
public function replaceParameter ( int $ position , PhpParameter $ parameter ) { $ this -> checkPosition ( $ position ) ; $ this -> parameters [ $ position ] = $ parameter ; return $ this ; }
Replaces a parameter at a given position

@param int $position
@param PhpParameter $parameter
@throws \InvalidArgumentException
@return $this
Replaces a parameter at a given position