diff --git a/generator/src/Parameter.php b/generator/src/Parameter.php index 4add27d8..27f86bf4 100644 --- a/generator/src/Parameter.php +++ b/generator/src/Parameter.php @@ -42,14 +42,12 @@ public function getDocBlockType(): string public function getParameterName(): string { - // The db2_bind_param method has parameters with a dash in it... yep... (patch submitted) - return \str_replace('-', '_', $this->parameter->parameter->__toString()); + return $this->parameter->parameter->__toString(); } public function getParameterType(): string { - // The db2_bind_param method has parameters with a dash in it... yep... (patch submitted) - return \str_replace('-', '_', $this->parameter->type->__toString()); + return $this->parameter->type->__toString(); } public function isByReference(): bool