From db4cd02e771fb5a0388d496f0cd8ef22661abcc1 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 28 Nov 2024 18:32:59 +0000 Subject: [PATCH] remove no-longer-needed workaround (#477) --- generator/src/Parameter.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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