From ad8962bf093a40b1a0c53587908cefc11c188754 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 28 Nov 2024 17:54:41 +0000 Subject: [PATCH] remove no-longer-needed workaround --- 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